summaryrefslogtreecommitdiff
path: root/src/strategy
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-08-06 10:59:30 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-08-06 10:59:30 +0200
commit4d8846395fe12e6d92014da10f1e017267af0c57 (patch)
tree01a054d9286b58e102974a0794bbc0dc1c8e1ac2 /src/strategy
parentd23833847724620a8032bedb342d03b3b9184059 (diff)
Extra todos for snowball moves
Diffstat (limited to 'src/strategy')
-rw-r--r--src/strategy/mcts.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/strategy/mcts.rs b/src/strategy/mcts.rs
index 26edf16..e393685 100644
--- a/src/strategy/mcts.rs
+++ b/src/strategy/mcts.rs
@@ -229,6 +229,8 @@ fn update(node: &mut Node, commands: [Command; 2], score: Score) {
node.score_sum += score;
}
+// TODO: Move into game.rs
+// TODO: Include snowball commands
fn valid_moves(state: &GameBoard, player_index: usize) -> Vec<Command> {
state
.valid_shoot_commands(player_index)