bootcamp-second-project / draw-stuff

draw with ur friends :)
1 stars 1 forks source link

Play game in front end #7

Closed japankid-code closed 3 years ago

japankid-code commented 3 years ago

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: