New Game Source Code: Gemgem (A Bejeweled clone)
Posted by Al Sweigart in misc
Here's the source code for a Bejeweled clone called Gemgem, written in Python with Pygame.
Posted by Al Sweigart in misc
Here's the source code for a Bejeweled clone called Gemgem, written in Python with Pygame.
Posted by Al Sweigart in misc
Here's a Sokoban ("box pusher") clone called Star Pusher. I've used the graphics from the Planet Cute collection. You'll need Python (2 or 3) and Pygame installed to run it. Just download and unzip the files to the same directory. It comes with 201 levels from David W. Skinner.
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.