Tic-tac-toe, also known as 'noughts and crosses' or 'Xs and Os' or 'jogo da velha' or 'jogo do galo' or 'three in line' and many other names, this classic game is back again and you can play against your own machine.
Make a sequence of 'O' (horizontally, vertically or diagonally) and do not allow the machine to form the sequence of 'X'. Otherwise the machine will beat you.
Are you ready for the game? Prepare your strategy...
Command Line Interface, such as:
This project is part of the Python learning trail, initiated by the training offered by Python Institute through the partnership between Cisco Networking Academy and Secretariat of Science and Technology of the city of Rio de Janeiro/Brazil (SMCT).
This project requires previous software installation before running it.
Note: Older versions will result in an invalid syntax error. Some resources used in this project was implemented from the version 3.10.0.
It is possible to use any code editor you already use, but to make it easier, you can open it in Visual Studio Code. It is also possible to use IDLE (Integrated Development and Learning Environment).
You can find and open the project here:
Open the PowerShell or Command Prompt or Terminal, depending on OS you are using, navigate to the root directory of this project (if you are using Windows, you can use Shift + Right click
in the root directory of this project and open the PowerShell right there), then type:
python .
This project is licensed under the MIT License.