Tic Tac Toe is an exciting game, well for me it is. And for some reason it just came into my mind to code one. At first I thought this will be so easy, but then I was wrong. I just realized coding a game was never easy, and it took me days to finish this simple game (I’m not coding in full-time though). The code is pretty messy, so please forgive me. Here’s what it looks like:
- Human-Level Intelligence
- Coin Toss for who goes first
- Game Record
- Clean Game Board
Computer-Level opponents in Tic Tac Toe is boring. You will never win. On this script, you can win, and that eliminates the boredom. The coin toss system is a random pick, and I must say it’s really funny, but efficient.
Of course you can have the source code and play it. If you have a good record, you can share it with us. And if you want to make it better, fork it!
Please leave a comment if you have questions or something to say.