Add notes for next steps.

This commit is contained in:
Dorian 2019-03-04 08:37:35 -05:00
parent 3d1f6f4ec8
commit a60a9959b9
1 changed files with 15 additions and 0 deletions

View File

@ -123,6 +123,21 @@ impl Game {
state: GameState::LightPlayerTurn, 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)] #[cfg(test)]