summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-08-10 16:28:56 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-08-10 16:28:56 +0200
commit1d54d0825505b670ee8cc5f370088ae1a6ed3b5f (patch)
treeb889f4ef2a9cf1c9c9ae80ba40f9069cb1799faa
parent3bfb933d54b09ca57ef9b6a7fb05aca64ba8b76e (diff)
TODO Pruning
-rw-r--r--src/game.rs2
-rw-r--r--src/strategy/mcts.rs1
-rw-r--r--tests/official-runner-matching.rs1
3 files changed, 1 insertions, 3 deletions
diff --git a/src/game.rs b/src/game.rs
index 15f915c..4e2f7a9 100644
--- a/src/game.rs
+++ b/src/game.rs
@@ -248,7 +248,7 @@ impl GameBoard {
self.simulate_moves(actions);
self.simulate_digs(actions);
self.simulate_bombs(actions);
- // TODO: Question order of actions on the forums
+ // TODO: Question order of actions on the forums: https://forum.entelect.co.za/t/possible-bug-in-order-of-moves/822
self.simulate_snowballs(actions);
// This check needs to happen again because the worm may have
// been frozen on the previous command.
diff --git a/src/strategy/mcts.rs b/src/strategy/mcts.rs
index dc6a5a3..c122fa1 100644
--- a/src/strategy/mcts.rs
+++ b/src/strategy/mcts.rs
@@ -188,7 +188,6 @@ 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
Score {
val: match state.outcome {
SimulationOutcome::PlayerWon(0) => 3000.,
diff --git a/tests/official-runner-matching.rs b/tests/official-runner-matching.rs
index fb9fb8c..1b62088 100644
--- a/tests/official-runner-matching.rs
+++ b/tests/official-runner-matching.rs
@@ -8,7 +8,6 @@ use std::fs::File;
use std::io::prelude::*;
use std::path::Path;
-// TODO: Update the replays to the latest version
#[test]
fn simulates_the_same_match() {
let replays = Path::new("tests/replays/");