Play tic tac toe with an AI
Project description
tictactAI
Play against a tic tac toe AI in the shell, implemented with the minimax algorithm.
Installation
pip install tictactai
How to play
Open a new terminal or cmd and run:
tictactai
Alternatively, to play against a friend:
tictactai --pvp
Start the game and make subsequent moves by clicking on an empty position on the board.
Expanding the terminal/cmd window may be needed for optimal performance.
To end the game, type x
or q
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tictactai-1.0.9.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for tictactai-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdd6e482192d0c06bf11be2bebb6aa06a357d8dc5da5b84a48dff8c0a9424e1c |
|
MD5 | c9720cc63ae1dfb2d7ffb2ad91423fcd |
|
BLAKE2b-256 | 0add1b07aa1fd8614abed66a7df95bc974015f64b76f8b4229d93c2c8dd4ab32 |