-
Notifications
You must be signed in to change notification settings - Fork 1
Game Board and Movement
The game board consists of 25 nodes, identified by integers 0-24, arranged and connected as shown here:
(Note: both players start the game at Node 0)
For a more detailed look at the board, here is the JSON file we are using within the game: link (Note: In the JSON, Monsters have a "Speed" stat. In the game, a monster's time to respawn is equal to 7 - speed.)
Each player has four variables related to their movement: location, destination, speed, and movement counter. The location of a player is simply the node they are currently at. The destination is where the player will be going next.
Each player's movement counter is initially set to 7, and is decremented by 1 each turn. When the movement counter is equal to the player's speed (which is initially 0), the player moves to their destination, and the movement counter is reset to 7. Thus, a player's speed determines how many turns it takes them to move from a node to another node. (Note: all movements from one node to a connected node are considered the same distance). A player can never have a speed value greater than 5.
Each turn, each player chooses a destination. If this destination is different from the destination they have chosen previously, the movement counter is reset. If a player chooses a destination that is not directly connected to their current location, their destination will be set to their current location (ProTip: unless you want to just stand in one place, don't change your destination super-often).
The order of events within a turn are as follows:
-
Players make their decisions
-
Movement and Monster respawning occurs
-
Attacks happen
-
Monster deaths happen (if applicable)
-
Player deaths happen (if applicable)
After 300 turns have elapsed, the Duel begins. Once the Duel is in effect, both players are automatically moved to the starting node. In addition, movement counters and monster respawn timers no longer change. The two players must fight until only one is left standing.