Skip to content

Tic Tac Toe game with playable AI. Includes minimax algorithm for AI decision making.

Notifications You must be signed in to change notification settings

kbledows/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Tic-Tac-Toe

Created by Konrad Bledowski
Tic Tac Toe game with playable AI. Includes minimax algorithm for AI decision making.

What is this?

This repo features a playable Tic Tac Toe game against an unbeatable AI opponent. The best possible outcome against the computer is a Tie! Don't believe me? Try to beat my AI by running the python script.

image

Why did I make this?

I wanted to practice learning a new algorithm that I did not learn in university. I used a min-max algorithm for the AI's decision making. But mainly, this was made for fun.

Overview

To play, simply run the python script in your terminal. You will be greated by an ASCII version of the Tic Tac Toe game. From here, simply select the squares you want to place your 'X' in.

image

image

I hope you enjoy my game!

About

Tic Tac Toe game with playable AI. Includes minimax algorithm for AI decision making.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages