Skip to content

fix(components): fixes automatic uncovering of cells #60

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

Merged
merged 3 commits into from
Apr 1, 2021

Conversation

dev-in-disguise
Copy link
Collaborator

Cells which are uncovered automatically due to the 0 adjacent mines feature are now re-rendered correctly.
Cells in the status covered and flagger which are tried to be uncovered automatically due to the 0 adjacent mines feature are no longer tried to be uncovered in the ui.

fixes #49 , fixes #51

@dev-in-disguise dev-in-disguise added bug Something isn't working game-components F0.Minesweeper.Components labels Mar 14, 2021
@dev-in-disguise dev-in-disguise self-assigned this Mar 14, 2021

var uncoverableCells =
(
from cell in cells
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooh la la ... I haven't seen LINQ in quite some time 😉 - I like it

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me too. Was quite a pleasure using these rusty skills once again 😄

tabs are not only good for dishwashers
@mcNicolescu
Copy link
Collaborator

mcNicolescu commented Mar 30, 2021 via email

@mcNicolescu
Copy link
Collaborator

mcNicolescu commented Mar 30, 2021 via email

@dev-in-disguise dev-in-disguise merged commit ba1629c into main Apr 1, 2021
@dev-in-disguise dev-in-disguise deleted the fix/uncover branch April 1, 2021 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working game-components F0.Minesweeper.Components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uncovering a cell with no adjacent mines tries to uncover flagged adjacent cells Cell updates are not rendered
4 participants