Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/end online game #154

Merged
merged 5 commits into from
Jun 2, 2022
Merged

Feat/end online game #154

merged 5 commits into from
Jun 2, 2022

Conversation

adam-narozniak
Copy link
Collaborator

@adam-narozniak adam-narozniak commented Jun 2, 2022

  • online game is ended (game results are shown) properly
  • you can correctly play a new games
  • fix the bug (first offline then online game)
    GameServices (abstract, offline, and firebase) have new updates of the Done property of the game
    They also have roundCountBasedDone() because of the responsibility of the owner to addRound, finish the game for the other player to know if there is a formal time for the end and wait for the owner's update

still has a problem, when queuing for the next online game it still says that you're already in a game and wants to join the old game
@adam-narozniak adam-narozniak added the Waiting for review This PR is waiting for review. label Jun 2, 2022
@gaetschwartz
Copy link
Collaborator

LGTM, thanks for the fix :)

Copy link
Collaborator

@leonardopennino leonardopennino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@adam-narozniak adam-narozniak removed the Waiting for review This PR is waiting for review. label Jun 2, 2022
@adam-narozniak adam-narozniak merged commit 9a55e26 into main Jun 2, 2022
@adam-narozniak adam-narozniak deleted the feat/end-online-game branch June 2, 2022 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants