This commit is contained in:
Henri Bourcereau 2026-02-19 17:34:17 +01:00
parent b7525a9ee6
commit d67b7a7c01
3 changed files with 36 additions and 1 deletions

View file

@ -117,6 +117,10 @@ impl TricTrac {
self.game_state.to_vec()
}
fn get_observation_string(&self, player: PlayerId) -> String {
self.__str__()
}
/// Afficher l'état du jeu (pour le débogage)
fn __str__(&self) -> String {
format!("{}", self.game_state)