This commit is contained in:
Henri Bourcereau 2025-01-09 21:27:24 +01:00
parent a3bcdb8912
commit ff5ff74282
5 changed files with 25 additions and 0 deletions

View file

@ -50,6 +50,10 @@ impl BotStrategy for DefaultStrategy {
self.calculate_points()
}
fn choose_go(&self) -> bool {
true
}
fn choose_move(&self) -> (CheckerMove, CheckerMove) {
let rules = MoveRules::new(&self.color, &self.game.board, self.game.dice);
let possible_moves = rules.get_possible_moves_sequences(true);