KareemMAX / TicTacToe

A command line Tic-Tac-Toe game with AI βŒβ­•πŸ€–

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TicTacToe

A command line Tic-Tac-Toe game with AI.

About

This Tic-Tac-Toe AI was made as a challenge with my friends to make the best one. This version was implemented with my knowledge without resorting to any Tic-Tac-Toe pre-made AI algorithm or even google searching so it might be quiet rough but I tried my best 😁.

It should win most games.

Usage

  1. You can download the source code from the download code button from above, or you can clone the code through git.

  2. If Python was not downloaded download it from here.

  3. Open a command prompt or terminal where the project folder is downloaded, for windows you can follow these instructions.

  4. Run this command to open the game.py file

    python game.py
  5. Now you can play the game, the output will be like this:

    Screenshot 1

    You can play by writing the location you want to play in as demonstrated in the screenshot above

  6. Have FUN πŸŽ‰πŸŽˆ

About

A command line Tic-Tac-Toe game with AI βŒβ­•πŸ€–

License:GNU General Public License v3.0


Languages

Language:Python 100.0%