feat: python bindings
This commit is contained in:
parent
4920ab96f8
commit
012ccf8b42
12 changed files with 402 additions and 14 deletions
4
bot/python/test.py
Normal file
4
bot/python/test.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import store
|
||||
|
||||
game = store.TricTrac()
|
||||
print(game.get_state_dict())
|
||||
|
|
@ -15,7 +15,8 @@ pub const ACTION_SPACE_SIZE: usize = 514;
|
|||
pub enum TrictracAction {
|
||||
/// Lancer les dés
|
||||
Roll,
|
||||
/// Continuer après avoir gagné un trou
|
||||
/// Faire un nouveau 'relevé' (repositionnement des dames à l'état de départ) après avoir gagné un trou,
|
||||
/// au lieu de continuer dans la position courante
|
||||
Go,
|
||||
/// Effectuer un mouvement de pions
|
||||
Move {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue