Pacman 1982

This is a UNIX/console/text/ASCII Pac-Man clone which I dubbed Pacman 1982. I found this on old Usenet groups posted in net.sources by arpavax:mark. There is a group named net.games.pacman created for this game.

/* PACMAN  - written by Dave Nixon, AGS Computers Inc., July, 1981.
/* Converted for curses Feb 1982 by Mark Horton.
/*
/* Terminal handling for video games taken from aliens
/*      the original version  of aliens is from
/*      Fall 1979                      Cambridge               Jude Miller
/*
/* Score keeping modified and general terminal handling (termcap routines
/* from UCB's ex) added by Rob Coben, BTL, June, 1980.

Screenshots

#######################################      SCORE:      0       GAME: EASY
# . . . . . . . . ### . . . . . . . . #
# O ### . ##### . ### . ##### . ### O #
# . . . . . . . . . . . . . . . . . . #
# . ### . # . ########### . # . ### . #
# . . . . # . . . ### . . . # . . . . #
####### . ##### . ### . ##### . #######
      # . # . . . . . . . . # . #
      # . # . ### - - ### . # . #
####### . # . #         # . # . #######
        . . . # B I P C # . . .
####### . # . #         # . # . #######
      # . # . ########### . # . #
      # . # . . . . . . . . # . #
####### . # . ########### . # . #######
# . . . . . . . . ### . . . . . . . . #
# O ### . ##### . ### . ##### . ### O #
# . . # . . . . . @ . . . . . . # . . #
### . # . # . ########### . # . # . ###
# . . . . # . . . ### . . . # . . . . #
# . ########### . ### . ########### . #
# . . . . . . . . . . . . . . . . . . #      gold left =    185
#######################################      delay = 500, refresh =   1
@  @

Source code

Original source code: file=pacman_1982_game_original.tar.gz

Modified source code to run on GNU/Linux: file=pacman_1982_game_linux.tar.gz

To successfully compile, you will need to install (on Ubuntu)

  • build-essential
  • libncurses5-dev

Instructions

Attention: you are in a maze, being chased by monsters!

There is food scattered uniformly in the maze, marked by ".".
One magic potion is available at each spot marked "O". Each potion will
enable you to eat monsters for a limited duration. It will also
scare them away. When you eat a monster it is regenerated, but this takes
time. You can also regenerate yourself 3 times. Eating all the monsters
results in further treasure appearing magically somewhere in the dungeon,
marked by "$". There is a magic tunnel connecting the center left and
center right parts of the dungeon. The monsters know about it!

        Type:   h or s  to move left
                l or f  to move right
                k or e  to move up
                j or c  to move down
                <space> to halt
                q       to quit

        Type:   1       easy game
                2       intelligent monsters
                3       very intelligent monsters

Files:

pacman_1982_game_linux.tar.gz
pacman_1982_game_original.tar.gz

Tags: programming pacman 1982