-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Whirlpools - interaction with other pieces / tiles
movement.js * Adds restriction to prevent player moving ship into a whirlpool. * Adds restriction to prevent piece movement path passing through a whirlpool. contracts.js * Adds restriction to prevent trade route path from passing through an existing whirlpool. whirlpool.js * Adds restriction to prevent whirlpool being created in team harbour or pirate harbour. * Adds restriction to prevent whirlpool being created next to land. board.js * Add helper function (checkNextTo) to allow check on whether a tile is next to land (or any terrain type).
- Loading branch information
1 parent
b3b2ef2
commit 96480c7
Showing
5 changed files
with
84 additions
and
47 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
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