Inspiration

Bots that solve games like chess inspire me to create games that computers can play better than humans.

What it does

It is a console based tic tac toe game against a bot.

How we built it

I built it in python. But did not want to implement minimax or any search algorithm. I didn't want my program to search the game tree. There was a trick to always win i saw on youtube when i was very young. So I coded the bot to work like that

Challenges we ran into

Implementation is easier said than done. We as humans, can figure a lot of patterns to apply tricks. but for programming, you have to "teach" the bot everything.

Accomplishments that we're proud of

Bot never loses a game

What we learned

Code modularity is an important thing that i learnt from this. it was gruesome having a whole lot of if's and else's so modularizing the code helped a lot in understandability

What's next for Unbeatable-tic-tac-toe

Making it a GUI based game instead of console only

Built With

Share this project:

Updates