Built a web app of the game Big Two for two players.
In this variant, both players start with 17 cards each. Triples/three-of-a-kinds are not allowed (valid playable combos are single cards, pairs, or 5-card-combos). If a player passes his turn, he/she draws a card from the deck.
A nodejs/express server serves the "public" folder with the game logic and handles communications between clients using websocket rooms. Each game is played in a different room
node server.js
Game clients can join at http://localhost:3000/
- HTML/CSS
- jQuery
- nodejs/ejs
- socket.io