Skip to content

Commit

Permalink
Merge branch 'dev' into java21
Browse files Browse the repository at this point in the history
  • Loading branch information
charlestian23 authored Feb 13, 2024
2 parents 4f92b69 + 80cb273 commit 91233a1
Show file tree
Hide file tree
Showing 21 changed files with 188 additions and 550 deletions.
2 changes: 1 addition & 1 deletion bin/main/edu/rpi/legup/legup/config
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
<puzzle name="Skyscrapers"
qualifiedClassName="edu.rpi.legup.puzzle.skyscrapers.Skyscrapers"
fileType=".xml"
fileCreationDisabled="true"/>
fileCreationDisabled="false"/>
</puzzles>
</Legup>
215 changes: 0 additions & 215 deletions src/main/java/edu/rpi/legup/puzzle/skyscrapers/ClueCommand.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ public Skyscrapers() {
@Override
public void initializeView() {
boardView = new SkyscrapersView((SkyscrapersBoard) currentBoard);
boardView.setBoard(currentBoard);
addBoardListener(boardView);
}

/**
Expand All @@ -46,8 +48,7 @@ public Board generatePuzzle(int difficulty) {
* @return true if the given dimensions are valid for Skyscrapers, false otherwise
*/
public boolean isValidDimensions(int rows, int columns) {
// This is a placeholder, this method needs to be implemented
throw new UnsupportedOperationException();
return rows >= 4 && rows == columns;
}

/**
Expand Down
Loading

0 comments on commit 91233a1

Please sign in to comment.