wip debug get_valid_actions for black
This commit is contained in:
parent
65180d8164
commit
817dbd77a7
10 changed files with 200 additions and 41 deletions
|
|
@ -1,5 +1,5 @@
|
|||
use trictrac_bot::{Bot, BotStrategy};
|
||||
use log::{debug, error};
|
||||
use trictrac_bot::{Bot, BotStrategy};
|
||||
use trictrac_store::{CheckerMove, DiceRoller, GameEvent, GameState, PlayerId, TurnStage};
|
||||
|
||||
// Application Game
|
||||
|
|
@ -67,7 +67,7 @@ impl GameRunner {
|
|||
"--------------- new valid event {event:?} (stage {:?}) -----------",
|
||||
self.state.turn_stage
|
||||
);
|
||||
self.state.consume(event);
|
||||
let _ = self.state.consume(event).inspect_err(|e| error!("{}", e));
|
||||
debug!(
|
||||
" --> stage {:?} ; active player points {:?}",
|
||||
self.state.turn_stage,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue