powelli13 / dara-dots

Using Phaser 3 to implement a game idea I have.
MIT License
5 stars 2 forks source link

Implement Rock Paper Scissors #3

Closed powelli13 closed 3 years ago

powelli13 commented 3 years ago

synchronize the new game page with moves submitted to a rock paper scissors game. start the RPS gen server process when both players are sent to the queue, give the game_id to the gen server process as well for identification

powelli13 commented 3 years ago

Rock paper scissors is working now. It could be improved by sending players back to the lobby after the game ends.

powelli13 commented 3 years ago

When the game is over the RPS should update the scoreboard and send players back to the lobby

powelli13 commented 3 years ago

The game now sends players back to the lobby when it is done. Getting a hang of GenServers, channels and JavaScript all interacting which is fun.