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

Fix game end state and Stop Button functionality #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

drLite35
Copy link
Contributor

@drLite35 drLite35 commented Feb 4, 2025

  • Remove nested event loop that blocked Stop Button during game end screen
  • Add game_end_screen flag to track end game state
  • Simplify main loop structure to handle all game states
  • Maintain single event loop for better GTK integration
  • Preserve click-to-restart functionality at game end This fixes the issue where the Stop Button wouldn't work when the win message was visible, and makes the game state management more robust overall.'

Resolve #27

kindly @chimosky @quozl @walterbender

- Remove nested event loop that blocked Stop Button during game end screen
- Add game_end_screen flag to track end game state
- Simplify main loop structure to handle all game states
- Maintain single event loop for better GTK integration
- Preserve click-to-restart functionality at game end
This fixes the issue where the Stop Button wouldn't work when the win
message was visible, and makes the game state management more robust
overall.'
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.

Stop Button not working/game does not properly end when win message is visible.
1 participant