Skip to content

Commit

Permalink
1 comment
Browse files Browse the repository at this point in the history
1 comment
  • Loading branch information
willyoung366 committed Dec 2, 2024
1 parent 420a535 commit 174518c
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ public TooFewMinesContradictionRule() {
"edu/rpi/legup/images/minesweeper/contradictions/TooFewMines.png");
}

/**
* Checks whether the transition has a contradiction at the specific puzzleElement index using
* this rule
*
* @param board board to check contradiction
* @param puzzleElement equivalent puzzleElement
* @return null if the transition contains a contradiction at the specified puzzleElement,
* otherwise error message
*/

@Override
public String checkContradictionAt(Board board, PuzzleElement puzzleElement) {
MinesweeperBoard minesweeperBoard = (MinesweeperBoard) board;
Expand Down

0 comments on commit 174518c

Please sign in to comment.