debug
This commit is contained in:
parent
aa7f5fe42a
commit
db5c1ea4f4
1 changed files with 4 additions and 4 deletions
|
|
@ -153,8 +153,7 @@ impl TricTracEngine {
|
||||||
.map(|v| v.into_iter().map(|i| i as u64).collect())
|
.map(|v| v.into_iter().map(|i| i as u64).collect())
|
||||||
} else {
|
} else {
|
||||||
let mirror = self.game_state.mirror();
|
let mirror = self.game_state.mirror();
|
||||||
get_valid_action_indices(&mirror)
|
get_valid_action_indices(&mirror).map(|v| v.into_iter().map(|i| i as u64).collect())
|
||||||
.map(|v| v.into_iter().map(|i| i as u64).collect())
|
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
@ -243,8 +242,9 @@ impl TricTracEngine {
|
||||||
self.game_state
|
self.game_state
|
||||||
),
|
),
|
||||||
None => anyhow::bail!(
|
None => anyhow::bail!(
|
||||||
"apply_action: could not build event from action index {}",
|
"apply_action: could not build event from action index {} in state {}",
|
||||||
action_idx
|
action_idx,
|
||||||
|
self.game_state
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue