Skip to content

Project to create a version of the popular arcade game Pac-Man, using object-oriented programming concepts.

License

Notifications You must be signed in to change notification settings

lucas-akira/pacman-java

Repository files navigation

Pac-Man

pac-man

University of São Paulo - São Carlos

2nd Semester of 2017

Project made for the course "SCC0604 - Object-Oriented Programming", ministered by Professor Luiz Eduardo Virgilio Silva.

This project was originally made by:

Brief description and objective

Version of the arcade game Pac-Man made in Java, using the IDE NetBeans 8.2. The goal of this project is to apply object-oriented concepts (like classes, inheritance, encapsulation, etc.) learnt during class in a practical way.

This project was based on a framework made by professor Luiz Eduardo and Jose Fernando Junior. The file "PacMan_Alunos - Arquivos Originais.zip" has this framework from which we developed the project.

The 'Complete project requirements' section (coming soon) contains the English translation of the original PDF file (Projeto-Pacman.pdf) describing the project to be made (in Portuguese) with all the requirements imposed by the professor.

(some) Project features

  • Three stages

  • Each ghost has a different behavior:

    • Blinky Blinky : Chases the player with movement based on Pac-Man's current direction, with a random factor;
    • Pinky Pinky : Tries to trap Pac-Man by moving parallel to him, with a random factor;
    • Inky Inky : Moves randomly while Blinky is far from it, and behaves similarly as Blinky when the red ghost is close to it;
    • Clyde Clyde : Behaves similarly as Blinky while the player is far from it, and moves randomly when Pac-Man approaches.
  • Power pellet power : Gives 50 points and the ability to temporarily eat the ghosts. For each consecutive ghost eaten the amount of earned points doubles, starting at 200.

  • Two fruits (extra points):

    • Cherry Cherry : Gives 100 points. Appears each 50 seconds;
    • Strawberry Strawberry : Gives 300 points. Appears each 75 seconds.

About

Project to create a version of the popular arcade game Pac-Man, using object-oriented programming concepts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages