A "would you rather" multiplayer voting game.
I wanted to try socket.io and Next.js for a while so...
AC
-
0.1.0
- ✔ create a room with an access code
- ✔ people join a room and enter a name
- ✔ lists people's names in room
-
0.1.1
- ✔ highlight current users name
- ✔ denote users who are mid join
- ✔ highlight which users have joined the room
- ✔ shorten room ids
-
0.2.0
- joined users can toggle ready check
- when all users ready, 10 second countdown begins
- when countdown over, game begins
-
0.3.0
- ✔ refactor into handlers
- ✔ implement start game button that updates game state across all clients
-
0.4.0
- ✔ implement Round
- ✔ write unit tests for Round
- ✔ have Round extend same base entity as Game
-
0.4.1
- ✔ refactor to BaseStatefulEntity
- ✔ build pub/sub to state change events for BaseStatefulEntity
-
0.5.0
- distinguish between question asker and rest of players on the client
- question asker should be able to set the question
-
0.6.0
- once question has been set, allow other players to vote on topics
- once vote is complete, determine winning option (and players who voted)
$ yarn
$ yarn start
$ yarn
$ yarn start