-
Notifications
You must be signed in to change notification settings - Fork 70
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
Implement join game function #84
Conversation
@Benjtalkshow are you having any challenge completing this? |
Yea just chatted you few min ago with handle Kitch. I am working on it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@princeibs |
Please fix failing CI |
@princeibs |
closes #80
1 - join game function
Implemented a join game function which checks if the game with the given game_id is in a waiting state. Then adds the player's username to the appropriate color slot in the game state and If all required players have joined, it changes the game status from "Waiting" to "Ongoing".
2 - join game function test
Implemented test cases for the join game function which includes: