diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2019-07-12 21:53:46 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2019-07-12 21:53:46 +0200 |
commit | f4c4a2953c20a7083c4671057d6f8464f20a4c10 (patch) | |
tree | f3a58dbabefc6289fc47695d688e890539e839d3 /src/strategy | |
parent | 627ddc31b34ceb283ed062be5ef09d1ca9d40378 (diff) |
Had bombs destroy health packs
Diffstat (limited to 'src/strategy')
-rw-r--r-- | src/strategy/minimax.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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., |