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

Minesweeper #815

Merged
merged 63 commits into from
May 5, 2024
Merged

Minesweeper #815

merged 63 commits into from
May 5, 2024

Conversation

vockek
Copy link
Collaborator

@vockek vockek commented Apr 16, 2024

Description

Initial Minesweeper implementation with several rules and a ui.

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?

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

FisherLuba and others added 30 commits January 27, 2024 21:29
Initial Minesweeper implementation work
Created initial classes for bomb, flag, utilities, and contradiction rule.
This reverts commit 89fbe94.
This reverts commit ace7122.
Changes are well-contained within the Minesweeper classes and don't appear to create any conflicts. No puzzle files yet to test UI changes. Compilation tests pass. Merging
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.
# Conflicts:
#	src/main/resources/edu/rpi/legup/legup/config
Added helper functions used for getting cells adjacent to flag, as well as combinations of possible bomb tiles.
vockek and others added 22 commits March 12, 2024 17:01
This reverts commit b4c8ed9.
Add bomb or filled case rule and update the config to add minesweeper
-Fixed Bomb or Filled case rule picture
-Added getTileNumber and setCellType functions
-added 5x5 test puzzle
fixed bug where "satisfy flag" allowed you to select an empty tile instead of a flag tile
Added "Finish with Bombs" direct rule
Copy link
Collaborator

@charlestian23 charlestian23 left a comment

Choose a reason for hiding this comment

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

Looks fine, puzzle is in progress, so not going to do as rigorous of a check as normal. Test also seem to be passing fine, so nothing that already works is broken with this new puzzle.

@charlestian23 charlestian23 merged commit d68859b into dev May 5, 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.

6 participants