Skip to content

A text-based TicTacToe game that uses minimax algorithm with alpha-beta pruning to ensure the outcome is always either a win or a tie for the computer.

Notifications You must be signed in to change notification settings

treble-maker123/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Text-based TicTacToe game that uses minimax algorithm with alpha-beta pruning to ensure the game is always either a win or a tie, as is possible with TicTacToe. I created this as an exercise to become more familiar with Python and with Numpy, and I will try to improve it further by taking into account rotational invariance.

To run this, make sure you have Python 3.6 installed on your computer, then run python3 game.py.

About

A text-based TicTacToe game that uses minimax algorithm with alpha-beta pruning to ensure the outcome is always either a win or a tie for the computer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages