From 1d54d0825505b670ee8cc5f370088ae1a6ed3b5f Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sat, 10 Aug 2019 16:28:56 +0200 Subject: TODO Pruning --- src/game.rs | 2 +- src/strategy/mcts.rs | 1 - tests/official-runner-matching.rs | 1 - 3 files changed, 1 insertion(+), 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/"); -- cgit v1.2.3