On the first page of the app, users are created and added to games.
The posted user data is pushed to session storage when creating a user.
User is then redirected to the url /play/:id to join a room on the websocket to play with others in the game.
The play page is essentially a lobby that waits for players before the game begins. Any player can press the start game button and the game will begin
game logic:
one user gets to draw at a time.
3 rounds where each player gets to draw for 1 min each.
users vote on the score of the drawing as each player is drawing.
at the end of the game user with highest score wins and user is taken to a score screen.
On the first page of the app, users are created and added to games. The posted user data is pushed to session storage when creating a user. User is then redirected to the url /play/:id to join a room on the websocket to play with others in the game.
The play page is essentially a lobby that waits for players before the game begins. Any player can press the start game button and the game will begin
game logic: