summaryrefslogtreecommitdiff
path: root/src/strategy/minimax.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/strategy/minimax.rs')
-rw-r--r--src/strategy/minimax.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strategy/minimax.rs b/src/strategy/minimax.rs
index 4b10014..be0c485 100644
--- a/src/strategy/minimax.rs
+++ b/src/strategy/minimax.rs
@@ -289,7 +289,7 @@ fn pruned_moves(state: &GameBoard, player_index: usize) -> Vec<Command> {
.filter(|command| {
//NB: These rules should pass for doing nothing, otherwise
// we need some other mechanism for sticking in a do
- // nothing option
+ // nothing option. Unfortunately, sitting in lava is a situation where this prunes all moves currently :(
let idle_opponent_state = sim_with_idle_opponent(*command);
let hurt_self = idle_opponent_state.players[player_index].health() < my_starting_health;