Skip to content

AI implementation of the classic tic tac toe game with minimax algorithm

License

Notifications You must be signed in to change notification settings

ericksuryadinata/TicTacToe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe AI Project

This is a Tic Tac Toe console game made with Java. I have given my own touch to the console game with a unique (yet simple) board.

Update

I made small changes to the code so that the program will not crash if inappropriate data types are passed as inputs. It will merely notify the user. This makes the game even more appealing as a console-game.

Methodology

I used a minimax algorithm to construct the basis of this game. My friend and I referred to basic minimax structure from online sources when writing this code. Therefore there are a few cases in which the computer player still does not make the right choice. It will be fixed in further updates.

Comments appreciated!

If you have a suggestion or comment, please send me an email at sharmar@bxscience.edu ! Thank you.

About

AI implementation of the classic tic tac toe game with minimax algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%