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

Minesweeper2 #1

Merged
merged 22 commits into from
Mar 22, 2024
Merged

Minesweeper2 #1

merged 22 commits into from
Mar 22, 2024

Conversation

vockek
Copy link
Owner

@vockek vockek commented Mar 22, 2024

Description

Added the "Satisfy Flag" case rule
Added some functions to the MinesweeperCell, MinesweeperUtilities, Unset, and BombOrFilledCaseRule classes
Added pictures to the "Satisfy Flag" and "Bomb or Filled" case rules

Closes #(issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Enhancement (improvement to an already existing feature)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

I tested it with a few example minesweeper puzzle files, and it seems to work as intended

Checklist:

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

vockek and others added 22 commits February 16, 2024 16:08
This reverts commit ace7122.
removed fillapix imports
Added the unset puzzle element, added the minesweeper board copy function, fixed the bomb or filled case rule
This reverts commit ace7122.
Added helper functions used for getting cells adjacent to flag, as well as combinations of possible bomb tiles.
This reverts commit b4c8ed9.
-Fixed Bomb or Filled case rule picture
-Added getTileNumber and setCellType functions
-added 5x5 test puzzle
@vockek vockek merged commit 3164d44 into minesweeper Mar 22, 2024
@vockek vockek deleted the minesweeper2 branch March 22, 2024 22:10
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