fpiantini / jokettt_demo

Demo programs for the jokettt tic-tac-toe demo engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jokettt_demo

Demo programs for the jokettt tic-tac-toe demo engine.

Setup

Conda is used to setup the development environment. To setup the environment, the first time enter the following command:

conda env create

And enter the following command to activate the jokettt_demo conda env:

conda activate jokettt_demo

Demos

To play a game against an invincible Minimax engine:

./play.sh minimax

To play a series of games against a "learning" engine:

./play.sh learner

To watch the minimax engine and the learner engine figthing one against the other in multiple games, enter the command:

./play_ai.py -m -f minimax -s learner

About

Demo programs for the jokettt tic-tac-toe demo engine

License:MIT License


Languages

Language:Python 100.0%