Here is a tic tac toe game that allows you to both verse another human or an AI. The AI uses the randint algorithm to determine what space it will choose, so sometimes you will be able to beat the AI but other times it will be impossible! I also have implemented the play board using turtle so you can see where you and your opponent have gone. I also added a little easter egg in AI mode, see if you can find it and Good luck beating the AI! Have Fun !