Skip to main content

Pacman - 1.1

A scrolling version of Pac-Man with multiple mazes, bouncing fruit, and intelligent ghosts.

David Reilly
This is the first large-scale game I've done with python, and Pac-Man was an appropriate candidate as one of my all-time favorites. Mazes (w/ colors) are read from external text files, which are designed to be easily edited (with the Maze Editor), fruit bounces in and out of the passageways, and the ghosts use a variation of the A* pathfinding algorithm to chase pac-man and find their way back to the ghost box. The game is meant to be easily expandable or modifiable. I hope you enjoy it! Feel free to poke around the source (hopefully it's readable enough).


Contains some fixes and documentation, both versions (16x16 tiles and 24x24 tileset)


Home Page


Pacman 1.1 — 21 Jul, 2013 account Comments

  • David Reilly 2011-12-07 03:44:02

    I'm not sure of the details surrounding particular licenses, but you're free to modify the game and redistribute. I would appreciate a credit or a link to the original. Thanks for your interest.

  • jose 2013-01-30 19:02:43

    On my MAC, the computer is saying there is a syntax error.


  • Lavien 2013-06-12 20:10:37

    Yeah there is a syntax error coool though

  • Jeroen Broks 2013-08-14 14:11:22

    Hi there.... two things.... Your website has a red rating at McAfee site advisor. I advise you get something done about that as this can really scare people away, as a matter of fact I get a mega-warning on my screen when I click the link.

    Second, I can't get your game to run on MacOS X. I have Python 2.7 installed and I get the next error: "/usr/bin/python: can't find '__main__' module in 'pacman'" I get the same error when I try pacman-large.

    The screenshots are really promising, so it's truly a pity that I can't get this to work.