diff --git a/client_cli/src/app.rs b/client_cli/src/app.rs index b3f6f23..6685657 100644 --- a/client_cli/src/app.rs +++ b/client_cli/src/app.rs @@ -57,6 +57,10 @@ impl App { "state" => self.show_state(), "history" => self.show_history(), "quit" => self.quit(), + // run bots game (when two bots) + "bots" => self.bots_all(), + "" => self.bots_next_step(), + // play (when one bot) "roll" => self.roll_dice(), "go" => self.go(), _ => self.add_move(input), @@ -64,6 +68,12 @@ impl App { println!("{}", self.display()); } + // --- 2 bots game actions + + fn bots_all(&mut self) {} + + fn bots_next_step(&mut self) {} + // Set running to false to quit the application. pub fn quit(&mut self) { self.should_quit = true;