summaryrefslogtreecommitdiff
path: root/src/game.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-08-09 20:48:04 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-08-09 20:48:04 +0200
commitcd0c5b9d8c3f6a274018e0e60a4c0b82fc3598f3 (patch)
treef67d209f7f23552ebefbfbd29e60596d344fa2c1 /src/game.rs
parent74becec945c19bad637cb2760ca30da9b4d395f8 (diff)
More filtering of silly moves
Diffstat (limited to 'src/game.rs')
-rw-r--r--src/game.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.rs b/src/game.rs
index 7ece88d..78fd965 100644
--- a/src/game.rs
+++ b/src/game.rs
@@ -732,6 +732,7 @@ impl GameBoard {
}
}
+ // TODO: encorporate this for earlier filtering
pub fn sensible_shoot_commands(
&self,
player_index: usize,