Skip to content

jbock-java/pacman4console

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pacman For Console
==================
Okay, so basically, I got tired of enabling flash on my browser so that I could
play Pacman.  That, and I was extremely bored one night.  So I decided to make
my own Pacman... for Console.

Licensing Information
---------------------
See `COPYING` for details on the GNU/GPL version 2.

Compile/Install/Run
-------------------
To make... gee... let's see... type `make`.  
To install... type `make install`.  
To run... type `pacman [level_#]`          where \# is 1-9, for a premade level,  
  or      type `pacmac [level_file_name]`  for a custom level you made.  
To uninstall... type `make uninstall`.  
i.e.:
>     make && su -c "make install"
>     pacman 3                                           # Start @ level 3
>     pacman /usr/local/share/pacman/Levels/level07.dat  # Play only level 7
>     echo ":-( I don't like it." && make uninstall      # Uninstall :-(

The ASCII art
-------------

+ `C`	-	Pacman - That's you.
+ `&`	-	Ghosts - Boo.
+ `.`	-	Pellet - Yummy. Collect all of them to pass to the next level.
+ `*`	-	Power pellet - Makes you invincible for a short while.
+	Wall - No one can walk through it.
+	Blocker - A.K.A. Ghost wall. Only the Ghosts can walk through this.

![See the screenshot.](screenshot.png "Screenshot")

13 Basic Playing Rules
----------------------
In case you don't know the rules of Pacman (rules I programmed in), here are
most of them:

1. Pacman must collect all the pellets of food in the maze. 1 point per pellet.
2. Big pellets make Pacman invincible for a short amount of time.
3. If Pacman touches a ghost without being invincible, you die and lose 1 life.
4. If Pacman touches a ghost while invincible, the ghost is sent back to his
   starting point.
5. Points are awarded for each ghost eaten in a row while invincible: 20, 40,
   80, 160 (10\*2^x).
6. Pacman cannot go through the Ghost Walls (Blockers).
7. Ghosts, cannot turn completely around unless there is no other option.
8. While Pacman is invincible, Ghosts will be a bit slower and tend to stay
   away from him.
9. While Pacman is NOT invincible, Ghosts will tend to come toward him.
10. Pacman starts with 3 extra lives, once all three are gone, the game is
    over.
11. Extra lives are awarded at 1000 points, 2000, 4000, 8000... (500\*2^[x]).
12. If any character reaches a border of the maze, he will be transported to
    the opposite side.
13. Each character can only go in one X or Y direction at a time.

The keys used are UP, DOWN, LEFT, RIGHT or W, S, A, D.

To make your own levels, see `Levels/README`.

Contact Information
-------------------
Send comments and levels you have made to `doctormike@gmail.com`.

There is a [homepage](https://sites.google.com/site/doctormike/pacman.html).

Releases

No releases published

Packages

No packages published

Languages

  • C 95.4%
  • Makefile 4.6%