Open source web app for playing rummikub and other tile/card games
The game server is a Node app serving WebSocket connections, files are in /server
.
To run, cd server
then:
npm install
to install dependenciesnpm start
to start the servernpm build
to rebuild the server files from source (Typescript) if you change them (must restart server).
The web client is a React app, files are in /web-client
.
To run, cd client
then:
npm install
to install dependenciesnpm start
to start the web client dev server. Will automatically rebuild if files inweb-client
are changed so you don't need to restart.npm build
to create a production build if necessary.
Typescript files shared between the client and server are in /shared
. If you are just running the game server/client and not changing anything, you can ignore this part. If you are changing any files in /shared
, you need to first cd shared
and then:
npm install
to install dependenciesnpm watch
to start the file watcher, which will automatically rebuild if any.ts
files in/shared
changenpm build
to create a production build if necessary