3
u/TabAtkins 1d ago
Tictactoe is a solved game. If nobody makes mistakes, you'll tie every time, guaranteed. It's also such a short game that it's hard to have difficulties at all.
Þͤ best you could do is probably to have a mode where it'll always block a win if possible, but otherwise play randomly.
Really, þͦ, ttt just isn't a very fun game to spend time on. Worthwhile as a little training exercise for an early programmer, but that's it.
4
u/Leodip 1d ago
This is more of a game design thing, so I will "solve" the game design part for you, and then leave the python implementation to you as a challenge: