summaryrefslogtreecommitdiff
path: root/src/strategy
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-08-06 12:17:16 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-08-06 12:17:16 +0200
commit1e851a758e32834d909740df342831fef3d0e4b5 (patch)
treec5aaa9eead8d70ee86650fa36b0b4001bfe7e4e4 /src/strategy
parent4d8846395fe12e6d92014da10f1e017267af0c57 (diff)
Lava map constants
Diffstat (limited to 'src/strategy')
-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 f87d850..8a45750 100644
--- a/src/strategy/minimax.rs
+++ b/src/strategy/minimax.rs
@@ -229,7 +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
+ // TODO: Distance to dirt heatmap?
Score {
val: match state.outcome {
SimulationOutcome::PlayerWon(0) => 2000.,