New Game Source Code: Four in a Row
Posted by Al Sweigart in misc
I've made a Connect Four AI in Python with Pygame.
Posted by Al Sweigart in misc
I've made a Connect Four AI in Python with Pygame.
Posted by Al Sweigart in misc
I wanted to share this link to a great site with some simple Pygame examples:
There is also a textbook draft called "Introduction to Computer Science Using Python and Pygame" by Paul Vincent Craven.
Posted by Al Sweigart in misc
"MooseGesture" is a Python module that implements a basic mouse gesture recognition system. It can identify gestures made up of strokes in the eight cardinal and diagonal directions.
Posted by Al Sweigart in misc
I've compiled a list of free graphics and sound files that you can use in your games. The chapter on using graphics and sound files with the Pygame library is in Chapter 19 of the "Invent with Python" book.
Posted by Al Sweigart in misc
Made a new game with Pygame. It's called "Squirrel Eat Squirrel", where you move your squirrel around the screen eating the smaller squirrels and avoiding the larger ones. The more squirrels you eat, the larger you grow.
Posted by Al Sweigart in misc
I have a text version of a Connect Four clone done. The AI for it looks ahead two moves, which makes it fairly impossible to beat unless you concentrate.
Posted by Al Sweigart in misc
I'd just like to announce that "Invent Your Own Computer Games with Python" has just sold its 1000th hard copy since it's gone on sale last May.
Posted by Al Sweigart in misc
Here's a cipher disk that you can print and cutout to help you manually implement the Caesar Cipher. Simply download and printout the PDF and cut out the two circles and place them on top of each other.
Posted by Al Sweigart in misc
Welcome to the Code Comments Tutorial for Flippy, an Othello clone. Code Comments is a series of simple games with detailed comments in the source code, so you can see how the game works.
Posted by Al Sweigart in misc