imalooney / t3tr0s

30th anniversary tetris in ClojureScript
t3tr0s.com
Other
468 stars 28 forks source link

Add a ready button for players waiting in the lobby #17

Open pgambling opened 10 years ago

pgambling commented 10 years ago

Rather than start the next game countdown automatically, players waiting in the lobby should be able to signal that they are ready to play.

  1. Only "Ready" players are taken to the battle match.
  2. If all players are ready then the game starts immediately.
  3. If two or more players are ready then the game countdown starts, giving those AFK a chance to ready up.