Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Play Cards online with PartyKit

zalo/onlinecards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A multiplayer card game playing interface designed for phones using Partykit, inspired by Tabletop Simulator.

Card Game

TODO:

- Refactor code (currently all in client.js + server.js)
- Add Discord Activity Integration
- Polish up the UI for different screen formfactors
- Add card rotation and more physically based movement (throwing?)
- Auto-publish via Github Action?
- Add More Games? (Palace?  One-Night Ultimate Werewolf?)

Partykit Development Instructions:

This is a Partykit project, which lets you create real-time collaborative applications with minimal coding effort.

server.js is the server-side code, which is responsible for handling WebSocket events and HTTP requests. client.jsx is the client-side code, which connects to the server and listens for events.

You can start developing by running npm run dev and opening http://localhost:1999 in your browser. When you're ready, you can deploy your application on to the PartyKit cloud with npm run deploy.

Refer to our docs for more information: https://github.com/partykit/partykit/blob/main/README.md. For more help, reach out to us on Discord, GitHub, or Twitter.