From a60a9959b96ff4af99a4a589689b8b1ddc03379a Mon Sep 17 00:00:00 2001 From: Dorian Pula Date: Mon, 4 Mar 2019 08:37:35 -0500 Subject: [PATCH] Add notes for next steps. --- engine/src/lib.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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)]