Tic Tac Toe
24 Dec 2015This is basically the same old school single player Tic Tac Toe game developed in Python using Pygame. Actually this is the first game that I wrote, so the interface is a bit sloppy but still playable. I have used Minimax algorithm for AI that makes game unbeatable. This is a great tutorial to read more about Minimax algorithm. To learn Pygame, this is slightly outdated but still a great tutorial. If you prefer video tutorials than this is also a good one.
Tools
Pygame is a cross-platform set of Python modules designed for writing video games. It includes computer graphics and sound libraries designed to be used with the Python programming language.
Implementation
I won’t be embedding my code here as it is quite lengthy, you can refer my repository for complete code.
Additional Dependencies
Yeah, Python 2.7 and Pygame.
Thanks!