Skip to content

ctkano/TicTacToe

Repository files navigation

Tic-Tac-Toe made-with-python python MIT license

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.

Tic-Tac-Toe

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...

Tic-Tac-Toe: Start

Type of application

Command Line Interface, such as:

  • PowerShell

  • CMD

  • Terminal

Development Process

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).

Let's get started

Requirements

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.

Opening this project

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:

Visual Studio Code

Running this game

Windows / Linux / macOS :

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 .

Release

Latest Release Version

License

This project is licensed under the MIT License.