wip
This commit is contained in:
parent
6414565c0e
commit
ef91558b90
2 changed files with 6 additions and 3 deletions
|
|
@ -164,8 +164,8 @@ impl GameState {
|
|||
stage: self.stage,
|
||||
turn_stage: self.turn_stage,
|
||||
board: self.board.mirror(),
|
||||
active_player_id: mirrored_active_player,
|
||||
//active_player_id: self.active_player_id,
|
||||
// active_player_id: mirrored_active_player,
|
||||
active_player_id: self.active_player_id,
|
||||
players: mirrored_players,
|
||||
history: mirrored_history,
|
||||
dice: self.dice,
|
||||
|
|
|
|||
|
|
@ -102,7 +102,10 @@ impl MoveRules {
|
|||
if let Ok((field_count, Some(field_color))) = self.board.get_field_checkers(move0_from)
|
||||
{
|
||||
if color != field_color || field_count < 2 {
|
||||
println!("Move not physically possible 1");
|
||||
println!(
|
||||
"Move not physically possible 1. field_color {:?}, count {}",
|
||||
field_color, field_count
|
||||
);
|
||||
info!("Move not physically possible");
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue