- Throw card: click on the card in your hand and then in the middle of thr table;
- Toss card: same as throw;
- Beat: click on the card in your hand and then on card which you want to beat.
https://en.wikipedia.org/wiki/Durak
- nodejs
- rustc
- redis
- pm2
npm i
pm2 start ecosystem.config.cjs
# server
SERVER_HOST="127.0.0.1"
SERVER_PORT="3500"
REDIS_CONNECTION_URL="redis://localhost"
PREFIX_LOBBY="1"
PREFIX_PLAYER="2"
API_PREFIX="/api"
# client
CLIENT_PORT=3000
SERVER_URL="/api"
WEBSOCKET_URL="/api"