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

Win Conditions #97

Open
QuinnBast opened this issue Jan 31, 2023 · 0 comments
Open

Win Conditions #97

QuinnBast opened this issue Jan 31, 2023 · 0 comments
Labels
Core Core libraries

Comments

@QuinnBast
Copy link
Contributor

Enhancement Description

Implement a way to determine if a game has been victorious. There are various game modes and therefore the method should be able to be used no matter what game mode is being played.

This method is going to be used by the server to verify that games are completed, and, once games are completed, the server will provide players with EXP and other in-game resources. However, don't worry about the server implementation for now.

Solution

Create a method, potentially on the GameState, to determine if the game is over. Return a GameEndEvent (I might not have the name right, but close to that. This is a model in the Models project).

@QuinnBast QuinnBast added enhancement New feature or request Core Core libraries and removed enhancement New feature or request labels Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Core libraries
Projects
None yet
Development

No branches or pull requests

1 participant