aboutsummaryrefslogtreecommitdiffstats
path: root/wwb/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'wwb/src/main.rs')
-rw-r--r--wwb/src/main.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/wwb/src/main.rs b/wwb/src/main.rs
index 2399e73..ca40d9e 100644
--- a/wwb/src/main.rs
+++ b/wwb/src/main.rs
@@ -92,12 +92,12 @@ fn game_loop(path: String) {
// Game loop:
// Player rolls d6
// If not 5, next player's turn
- // If 5, roll d6 again
- // If not 5, go back to space 0
- // If 5 again, go ahead a space
+ // If 5, advance one space
// If players are on the same space that is NOT 0, move BOTH back to space 0
+ // If there was no collision, roll d6 again
+ // If not 5, go back to space 0
+ // If 5 again, nothing happens
// Next player's turn
- // Roll the dice
// This will probably not work properly when the turn count goes above 2^32 on a 32-bit machine and 3^64 on a 64-bit machine.
let current_player_number = game.turn_count as usize % PLAYER_COUNT;