The source code for the game programs for the book, "Making Games with Python & Pygame"
Play the JavaScript ports in your browser:
Chapter 1 - Installing Python and Pygame
Chapter 2 - Pygame Basics
Chapter 7 - Tetromino
- tetromino
- pentomino - A version of Tetromino using pieces made from 5 boxes.
- tetrominoforidiots - A version of Tetromino using pieces made from 1 box.
- tromino - A version of Tetromino using pieces made from 3 boxes.
- domino - A version of Tetromino using pieces made from 2 boxes.
Chapter 8 - Squirrel Eat Squirrel
Chapter 10 - Four Extra Games
- flippy - An "Othello" clone where the player tries to flip the computer AI player's tiles.
- inkspill - A "Flood It" clone that makes use of the flood fill algorithm.
- fourinarow - A "Connect Four" clone against the computer AI player.
- gemgem - A "Bejeweled" clone where the player swaps gems to try to get three identical gems in a row.