13

Pacman Project

  • Upload
    vaibhav

  • View
    197

  • Download
    51

Embed Size (px)

DESCRIPTION

pacman is an arcade game.

Citation preview

Diapositiva 1

OverviewIntroductionGame playGame rulesControlsImplementation

Introduction

Pacman is one of the class arcade game since the year 1970s

Game play The player scores points when a pill is eaten and once all the pills are eaten the player wins the level. When a ghost touches Pacman the player loses a life. In the corner of the maze there are special power-pills that when eaten allow Pacman for a limited period to eat the ghosts and not die.

Game rulesPacman can eat pills and scores points for player (each pill is worth 10 points and each power pellet worth 50 points)Ghosts kill Pacman when they collide with PacmanPower pellets that allow Pacman to eat the ghosts (the ghosts become vulnerable and turn blue).

7

ControlsUp arrow key starts the gameS key is used to start or resume the gameUp to move upwardsDown to move downwardsRight to move rightwardsLeft to move leftwards

ImplementationThe basic requirement to build the game in java is workspace such as eclipse or netbeans can be usedJava workspace contains the inbuilt java package known as java applet which is used to build the graphics of the game.

Java appletApplets are used to provide interactive features to create the window for gameInbuilt classes like the key listener and action listener class are implemented in order to take the keyboard keys and perform actions accordingly

ContinueRunnable interface class is used to create the threads Threads are used to create the movements of the ghosts and pacman.Each ghost have their own thread which moves them on the screen.

ConclusionFrom our work in this project we learnt about the java programming and built the pacman game in java applet.

Thank you