-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #208 from Corppet/dev
Battleship: Adjacent Ships Contradiction Rule
- Loading branch information
Showing
7 changed files
with
206 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
.../resources/puzzles/battleship/rules/AdjacentShipsContradictionRule/DiagonalAdjacentBoards
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<Legup> | ||
<puzzle name="Battleship"> | ||
<board size="10"> | ||
<cells> | ||
<cell value="3" x="3" y="3"/> | ||
<cell value="3" x="4" y="4"/> | ||
<cell value="3" x="2" y="3"/> | ||
</cells> | ||
<axis side="east"> | ||
<clue value="5" index="A"/> | ||
<clue value="5" index="B"/> | ||
<clue value="5" index="C"/> | ||
<clue value="5" index="D"/> | ||
<clue value="5" index="E"/> | ||
<clue value="5" index="F"/> | ||
<clue value="5" index="G"/> | ||
<clue value="5" index="H"/> | ||
<clue value="5" index="I"/> | ||
<clue value="5" index="J"/> | ||
</axis> | ||
<axis side="south"> | ||
<clue value="5" index="1"/> | ||
<clue value="5" index="2"/> | ||
<clue value="5" index="3"/> | ||
<clue value="5" index="4"/> | ||
<clue value="5" index="5"/> | ||
<clue value="5" index="6"/> | ||
<clue value="5" index="7"/> | ||
<clue value="5" index="8"/> | ||
<clue value="5" index="9"/> | ||
<clue value="5" index="10"/> | ||
</axis> | ||
</board> | ||
</puzzle> | ||
</Legup> |
36 changes: 36 additions & 0 deletions
36
...s/puzzles/battleship/rules/AdjacentShipsContradictionRule/InvalidOrthogonalAdjacentBoards
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<Legup> | ||
<puzzle name="Battleship"> | ||
<board size="10"> | ||
<cells> | ||
<cell value="3" x="2" y="3"/> | ||
<cell value="3" x="2" y="2"/> | ||
<cell value="3" x="2" y="1"/> | ||
<cell value="3" x="1" y="2"/> | ||
</cells> | ||
<axis side="east"> | ||
<clue value="5" index="A"/> | ||
<clue value="5" index="B"/> | ||
<clue value="5" index="C"/> | ||
<clue value="5" index="D"/> | ||
<clue value="5" index="E"/> | ||
<clue value="5" index="F"/> | ||
<clue value="5" index="G"/> | ||
<clue value="5" index="H"/> | ||
<clue value="5" index="I"/> | ||
<clue value="5" index="J"/> | ||
</axis> | ||
<axis side="south"> | ||
<clue value="5" index="1"/> | ||
<clue value="5" index="2"/> | ||
<clue value="5" index="3"/> | ||
<clue value="5" index="4"/> | ||
<clue value="5" index="5"/> | ||
<clue value="5" index="6"/> | ||
<clue value="5" index="7"/> | ||
<clue value="5" index="8"/> | ||
<clue value="5" index="9"/> | ||
<clue value="5" index="10"/> | ||
</axis> | ||
</board> | ||
</puzzle> | ||
</Legup> |
35 changes: 35 additions & 0 deletions
35
...esources/puzzles/battleship/rules/AdjacentShipsContradictionRule/OrthogonalAdjacentBoards
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<Legup> | ||
<puzzle name="Battleship"> | ||
<board size="10"> | ||
<cells> | ||
<cell value="3" x="2" y="3"/> | ||
<cell value="3" x="2" y="2"/> | ||
<cell value="3" x="2" y="1"/> | ||
</cells> | ||
<axis side="east"> | ||
<clue value="5" index="A"/> | ||
<clue value="5" index="B"/> | ||
<clue value="5" index="C"/> | ||
<clue value="5" index="D"/> | ||
<clue value="5" index="E"/> | ||
<clue value="5" index="F"/> | ||
<clue value="5" index="G"/> | ||
<clue value="5" index="H"/> | ||
<clue value="5" index="I"/> | ||
<clue value="5" index="J"/> | ||
</axis> | ||
<axis side="south"> | ||
<clue value="5" index="1"/> | ||
<clue value="5" index="2"/> | ||
<clue value="5" index="3"/> | ||
<clue value="5" index="4"/> | ||
<clue value="5" index="5"/> | ||
<clue value="5" index="6"/> | ||
<clue value="5" index="7"/> | ||
<clue value="5" index="8"/> | ||
<clue value="5" index="9"/> | ||
<clue value="5" index="10"/> | ||
</axis> | ||
</board> | ||
</puzzle> | ||
</Legup> |