
PROGRAMMING METHODOLOGIES

Assignment 3

                              PAC-MAN

by:     Kelvin Chung, Tat Leung
        Kevin Tse, Kwok Wai
        Beatrice Choy, Man Man


User's Guide
============

        To play, type: 
                        pacman 
        
        and then press [Enter].

        There are four levels in the game, with increasing difficulty. But 
the goal is the same: eat all the ghosts as soon as possible. User may 
move the pac-man with arrow keys for eight directions. 

        There are two kinds of ghosts -- male and female. Male ghost worths
10 marks; female ghost worths 20 marks. 

        The colored squares are stones. No pacman or ghost may cross through
the stones.

        When the pacman eats all the ghosts, bonus scores will be added 
according to time remained and user may proceed to the next level. When no 
time remained, or level four is completed, the game ends. User may choose to
exit or play another game by pressing 'y' or 'n'.


Implementation
==============

        Classes:
                Game 
                Song
                Animal-----Man
                        |--Ghost
                        |--Stone

        Files:
                pacgirl.bin
                image.h
                bitmap.cpp      ...     for displaying graphics

                pacman.img
                ghost.img       ...     for bitmap image
                
                game.h
                game.cpp        ...     for class Game

                heltz.h
                song.h
                song.cpp        ...     for class Song

                animal.h
                animal.cpp      ...     for class Animal

                pacman.cpp      ...     main function

        For details, please refer to source code.
