Skip to content

aurelienDelageInsaLyon/open_spiel_TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

open_spiel_TicTacToe

installation d'open_spiel

  • suivre le guide d'installation dans open_spiel/readme.md
  • suivre le guide d'installation dans open_spiel/open_spiel/algorithm/alpha_zero_toarch/readme.md

compilation

dans le répertoire open_spiel,

cd build; make -j$(nproc); cd ..

entraîner alpha_zero

dans le répertoire open_spiel,

./build/examples/alpha_zero_torch_example --game=tic_tac_toe --path=. --nn_depth=2 --nn_width=8 --checkpoint_freq=1

jouer

dans le répertoire open_spiel,

./build/examples/alpha_zero_torch_game_example --game=tic_tac_toe --player1=az --player2=human --az_path=. --az_checkpoint=0

où l'argument player2=[...] permet de choisir entre nous (human), mcts ou az (alpha_zero)

modifier les paramètres du jeu

Dans tic_tac_toe.h, on peut modifier :

  • inline constexpr int kNumRows = 6;
  • inline constexpr int kNumCols = 6;
  • inline constexpr int kSizeLine = 4;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published