TIK-TAC-TOE

How Does it Work?

In this project is use a Min-Max algorithm to have the ai make moves on the tic-tac-toe board. The AI simulates boards for every possible move and then gives them a ranking and based on that rank will make the best possible move. It’s designed to check if you have 2 in a row and block that and well as if you have 3. It’s also designed to try and place a move around the player if it’s advantageous to do so. It does not play to win, but instead plays to not be defeated. If by chance the move to win arises it will seize the opportunity and do so.

 Tic-Tac-Toe Package Download

Previous
Previous

GrappleHook