/PacMan

Simple PacMan game

Primary LanguageJava

PacMan Game

Simulation of the PacMan Game made for a university project

Authors:


Logo

Pac-Man

A simulation of a simple version of the Pac-Man game for a college project.
Explore the project »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. Contact

About The Project

Interface

Game Interface


The project is the first to get me in touch with Java interfaces and the use of JPanel forms. The main goal was making a functional and playable PacMan game. It is also my first time using Threads in programming.

The main functions the game has are:

  • Being able to play a game with the main options: start, pause, resume and exit
  • Gaining different points depending on the dot it eats
  • Saving each game the highest score
  • PacMan has 3 lives
  • Functional chrono for each game

(back to top)

Built With

The resources used:

(back to top)

Getting Started

Before running the project you need to follow some steps.

Installation

Follos the next steps to run the project. I recommend using an IDE such as NetBeans for an easier process.

  1. Clone the repo
    git clone git@github.com:Raquel-RP/PacMan.git
  2. Compile the project (I used jdk 17.0.2 compiler)
  3. Execute the project
    run the Comecocos.jar file 
    PATH ComeCocos/ComeCocos/dist/Comecocos.jar

(back to top)

Usage

To play the game is just as simple as the PacMan game.
Press the button Start to start playing, move your keyboard arrows to move the PacMan.
It's important to keep the mouse pointer inside the game intermface for the controls to work.
Use the Pause and Resume button to pause and restart the game (the chrono will stop too).

Press the Exit button to close the program.

(back to top)

Contributing

Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

Raquel Romero - raquelrp1426@hotmail.com

Project Link: https://github.com/Raquel-RP/PacMan

(back to top)