pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Pacman

Pacman - 1.1

David Reilly (greyblue9)

Tags:

Description

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).

Changes

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

Links

Home Page: http://pinproject.com/pacman/pacman.htm
Source: https://github.com/greyblue9/pacman-python

Screenshot


click to view original size

Releases

Pacman - 1.1 - Jul 21, 2013

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

July 24, 2013 6:17am - Xandar Kablandar - nickname: (eternalcheesecake) - 4/5
Hey I love this game! I like the small details, like the changing edge colors, and the extra mazes, which are challenging. I wish there was a dying animation with sound, and that going through the side doors wasn't an instantaneous teleport to the other side. I thought that the points for eating the fruit was too high, especially compared to the point difficulty of eating blue ghosts. I tried running the maze_editor.exe under Wine, but it said it needed MSCOMCTL.OCX, which wasn't in the libraries folder. Are you still updating this fun game?
July 28, 2011 3:16pm - Maxime - nickname: (spacemax) - 5/5
very good.
February 5, 2011 4:02pm - Marco Antonio Frias B. - nickname: (smaug) - 5/5
dude...

what type of license has the game?

thanks!
January 12, 2009 11:53pm - David Reilly - nickname: (greyblue9)
jammy,
You should be able to just open/edit the 'pacman.pyw' file. If you have any trouble with it just shoot me an e-mail, greyblue9 @ gmail.com
December 27, 2008 4:43am - jammy - nickname: (jammy)
dude cant find the source code .

but anyway the game is awesome .
keep up the good work bro .
thanks .
June 11, 2008 8:49am - pymike - nickname: (pymike)
Totally awesome. My high is 90,310 on Andy's :D
December 15, 2007 1:16am - David Reilly - nickname: (greyblue9) - 5/5
Hey Andy, your edits are really great! I tried to get it running in Linux once and failed. Thanks!

The 24x24 version seems to run a little bit slower, probably because pac-man has more pixels to cover.. if you change "self.speed = 2" to 3 on line 810, it seems to be as fast as it should. It didn't crash in the time I played through about 8 levels or so (must be an intermittent thing?) I think I've had it crash occasionally before on the 16x16 version, so I doubt it had to do with anything you changed.
October 11, 2007 7:39pm - Andy Sommerville - nickname: (aksommerville)
Another edit, with 24x24 graphics instead of 16x16.
(this one crashes sometimes in the path generation.....?)
http://aksommerville.googlepages.com/pacman-large.zip
October 8, 2007 6:30pm - Andy Sommerville - nickname: (aksommerville) - 5/5
Here's my edited version:
http://aksommerville.googlepages.com/pacman.zip
It has a high-score list, joystick support, and it runs in Linux.
October 7, 2007 1:36pm - Andy Sommerville - nickname: (aksommerville) - 5/5
Really great Pacman clone. Takes some slicing and dicing to get it running in UNIX, but well worth the effort!
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Nov 13, 2014

Nov 11, 2014


Nov 10, 2014

Nov 9, 2014

Nov 6, 2014


Nov 4, 2014

Nov 3, 2014

Oct 28, 2014

Oct 21, 2014

Oct 16, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)