Tic-Tac-Toe
CyanCoding (1415)

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

@microwither: I went 1, it went 5, i went 9, it went 3, i went 7, it went 4, i went 8 and won first try on impossible. There is no algorithm that guarantees a victory in this game, that's what makes it so fun. If you wanna see why write out all of the possibilities, it really helps you understand the game. And then you can rewrite your algorithm to make it harder, still not impossible, but harder.