CyanCoding (1589)


As a fun side project, I built this awesome Tic-Tac-Toe game (with three AI levels) in May 2017.

You are viewing a single comment. View All
J7Luke (0)

@microwither The strategy used to beat the impossible computer is to choose a corner, then the opposite corner, then a third corner (or the middle if the computer has left it open). The way for a computer to tie a game that opens this way is to choose the corner opposite the one the player chose on the first move. From there, all the computer has to do is block any potential 3-in-a-row moves.