From f4c4a2953c20a7083c4671057d6f8464f20a4c10 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Fri, 12 Jul 2019 21:53:46 +0200 Subject: Had bombs destroy health packs --- src/strategy/minimax.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/strategy/minimax.rs') diff --git a/src/strategy/minimax.rs b/src/strategy/minimax.rs index 11e19a1..80d8246 100644 --- a/src/strategy/minimax.rs +++ b/src/strategy/minimax.rs @@ -229,6 +229,7 @@ fn best_player_move(node: &Node) -> Command { fn score(state: &GameBoard) -> Score { // TODO: Try adding new features here, like max worm health, weighted in some way + // TODO: Distance to dirt heatmap Score { val: match state.outcome { SimulationOutcome::PlayerWon(0) => 2000., -- cgit v1.2.3