This is a simple tic tac toe implementation in Python with Command Line interface, It takes a 3 x 3 matrix with 2 players.
-
What is the aim of this project for? This is to implement a tic tac toe with 3 approaches , manual/bot/minimax algorithm
-
What is the default game configuration?
This starts with 2 players , firstly by asking their names and choosing their symbols they want to go with. -
What is the input format?
There are multple ways to take input from players, but in my current project I am taking input as x coordinates, y coordinates
(0, 0) | (0, 1) | (0, 2)
+++++++++++++++
(1, 0) | (1, 1) | (1, 2)
+++++++++++++++
(2, 0) | (2, 1) | (2, 2)
create an image with name tic-tac-toe, it would build the image with all dependency present in requirements.txt
docker build tic-tac-toe:v1.0
docker run -it tic-tac-toe:v1.0 python main.py --game-mode manual/bot
python main.py --game-mode min-max
Use the issue tracker to submit bug reports and features or enhancements requests.
You can contribute by translating this document into other languages (except en and pt_br).
If you can improve anything in this project, feel free to add a pull request.
tic-tac-toe is under MIT license. It can be reused within proprietary software provided that all copies of the licensed software include a copy of the MIT License terms and the copyright notice.