diff --git a/engine/src/lib.rs b/engine/src/lib.rs index 1038d42..6ba74b3 100644 --- a/engine/src/lib.rs +++ b/engine/src/lib.rs @@ -123,6 +123,21 @@ impl Game { state: GameState::LightPlayerTurn, } } + + // TODO: Add in rules for long jump on kings, and forcing to jump as many pieces as possible. + // TODO: only support the minimal setup required for an American game of checkers. + + pub fn can_piece_move(&self, row: usize, col: usize) { + // TODO: based on player turn, available jumps and moves. + } + + pub fn must_piece_jump(&self, row: usize, col: usize) { + // TODO: based on player turn, available jumps and moves. + } + + pub fn change_turns(&mut self) { + // TODO: go to the next turn... + } } #[cfg(test)]