Independent-learning super-curriculum projects: reading, research and ideas shared by Perse students

Tic Tac Toe in Python

I came up with this idea because I was trying to think of a game that would work in a text based environment. It took around 2 hours to complete with it first being without functions but that didn’t work because it would need to use certain code over and over again making it too long and tricky. The AI itself for the one player game took around an hour to complete because of its algorithms that make it work, most of them were simple, but there were a lot. I think that the AI is impossible to beat, but see if you can beat it!