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

Fixing the Game Over Feature #18

Open
yehiarasheed opened this issue Sep 10, 2024 · 0 comments
Open

Fixing the Game Over Feature #18

yehiarasheed opened this issue Sep 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@yehiarasheed
Copy link
Owner

Describe the bug
Whenever we press the "Play Again" button in the Game Over prompt and go to play the same gameplay mode we were playing at, the mode does not reset correctly, the lost lanes are still lost and dark and the titans are still added in the lanes.

To Reproduce
Steps to reproduce the behavior:

  1. Start the game and press the "Start Game" Button.
  2. Click on the chosen gameplay mode (Easy or Hard).
  3. Play out the whole game till all lanes are lost and you are presented with the Game Over Prompt.
  4. Press "Play Again" button in the Game Over prompt then redo steps 1-2 choosing The same gameplay mode.
  5. See the error at this stage.

Expected behavior
After choosing to Play Again, even if the users choose to play the same gameplay mode over and over, it should reset and be playable each time. However that's not the case because of this bug which is why it needs to be fixed.

@yehiarasheed yehiarasheed self-assigned this Sep 10, 2024
@yehiarasheed yehiarasheed added the bug Something isn't working label Sep 10, 2024
@yehiarasheed yehiarasheed added this to the Milestone 4 milestone Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant