Want to create something that’s fun, AI-driven, and uses networking? In less than 1K lines of code? I just did.
As we grow as engineers, we tend to focus on “big software,” often mistaking big for complex. But just a few lines of code can get very complex; take, for example, any sophisticated algorithm.
My use of AI, networking, and a bit of CLI came in the form of… surprise, surprise… tic-tac-toe.
Wait, what?
If you’re like me, you’d associate tic-tac-toe with an introductory Python book for someone who has never coded before. But that little game can pack quite a punch, especially if you add an AI opponent while also supporting multiplayer mode with another human.
In short, you can turn something as simple as tic-tac-toe into a “multiplayer AI-opponent based game”, and get all the sophistication you’d ever want from something very simple.
Let’s dive in:
For now, yes. If you would like to know how I built this project, do drop an email from Contact. I will plan to release a learning material around this.