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

Allow finish game in example mines #790

Closed
wants to merge 4 commits into from

Conversation

xilec
Copy link
Contributor

@xilec xilec commented Jun 7, 2024

Allow finish game in example mines.

Added:

  • detection of victory.
  • showing mines, at the end of game.
  • generation of board after first player click, for not losing on first step.

Not implemented: reveal nearby unmarket cells by middle mouse click and count scores.
There is known bug: do not shows mines when game is defeated. But almost the same implementation for victory case works.

@xilec xilec changed the title Implemented gaming part of example mines Allow finish game in example mines Jun 8, 2024
@gyscos
Copy link
Owner

gyscos commented Jul 12, 2024

Closed in favor of the larger PR doing the same thing

@gyscos gyscos closed this Jul 12, 2024
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.

2 participants