Tic-Tac-Toe
CyanCoding (1417)

https://repl.it/@CyanCoding/Tic-Tac-Toe

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
spencerdavis2000 (0)

nice game. I did notice when you enter a value besides a number it has problems. I remember doing a tic tac toe progam a long time ago and I learned if I create a char array, I can easily tie the input of the value like 'X' or 'O' with the index of it like 0 for 1 or 8 for position 9. It makes it easier to keep track of everything plus cuts down on the lines of code