SheldonSChen/hanafuda

Game end force submit sets

SheldonSChen opened this issue · 1 comments

If the current player has played their last hand card and made a set, it should automatically submitSets.
i.e. do not allow to player to choose to continue the round.
Make sure to check both cases:

  • opponent has 1 card left
  • opponent has 0 cards left

Ideally we want the game to end without the user having to click "OK"; use timeout instead of onclick