Skip to content

Latest commit

 

History

History
131 lines (87 loc) · 3.13 KB

README.md

File metadata and controls

131 lines (87 loc) · 3.13 KB

Pac-Tastic!

Pac-Tastic is a Java Swing application that brings back the classic arcade game Pacman. It challenges players to navigate through a maze, eat pellets, avoid enemies, and collect various upgrades.

Table of Contents

Features

  • Main menu with options for starting a new game, viewing high scores, and exiting
  • Real-time graphical interface with time, life, score and level counter
  • Scalable, resizable game window
  • Randomly generated maze with customizable size (10 to 100 rows/columns)
  • High score persistence in high-scores.dat
  • Sound interactive gameplay

Installation

Linux MacOS

  1. Ensure you have Java Development Kit (JDK) installed on your system and your path system variable has been set.
  2. Clone the repository:
    git clone https://github.com/mikson022/pac-tastic.git
  3. Get inside the repository and compile the source files:
    cd pac-tastic && javac -d bin -cp src src/*.java
  4. Copy resources needed at runtime:
    cp -r resources/pics/ resources/sounds/ -t bin/
  5. Run the program:
    cd bin && java Main

Windows

  1. Ensure you have Java Development Kit (JDK) installed on your system and your path system variable has been set.
  2. Clone the repository:
    git clone https://github.com/mikson022/pac-tastic.git
  3. Get inside the repository and compile the source files:
    cd pac-tastic
    javac -d bin -cp src src/*.java
  4. Copy resources needed at runtime:
    xcopy /s /i resources\pics\* bin\ & xcopy /s /i resources\sounds\* bin\
  5. Run the program:
    cd bin
    java Main

Help Resources

If you're unable to install pac-tastic, make sure you have JDK and your path variable set up. https://www.java.com/en/download/help/path.html

Usage

  • Navigate the main menu using the mouse and press to select an option.
  • In the "New Game" option, enter the desired size of the game board (rows/columns).
  • Control Pacman using the arrow keys.
  • Points are generated in random places of the map every 5 seconds.
  • When the game is over you can save the score.

Screenshots

Main Menu

Game, map 30x30

Game, map 70x55

Contributing

If you have any ideas, suggestions, or bug reports, please open an issue, submit a pull request or contact me directly.

License

This project is licensed under the MIT License.

Known Issues

  • Rendering bugs cause some cells to 'blink'.
  • When playing for a second time, map should be bigger than in previous game or program restarted.

Donations

Monero - untraceable, private and decentralized. My Address:

884Pjeq7L7n7cCciVnjZuS9dbXj86GqkCKKes4REg9RK2cvhjRNZVUXHsr7WWS3cCtWag48N9ASJe5QzRoyWJM4VJEG7Gje