/Pacman

Primary LanguageJava

Pacman Game

Welcome to the Pacman Game repository! This Java-based game features an interactive interface using JFrame and provides an engaging experience for players. Below, you'll find information on how to play and features of the game.

Table of Contents

Introduction

The Pacman Game is a classic arcade-style game implemented in Java using JFrame. It involves navigating a Pacman character through a dynamic game board, collecting pellets, and avoiding ghosts. The game includes features like random wall generation, multiple lives, and a scoring system.

How to Play

  1. New Game

    • Click the "New Game" button on the main menu.
    • Enter the number of rows and columns (between 10 and 100) to set the size of the game board.
    • Navigate Pacman using arrow keys and avoid ghosts.
    • Collect pellets to increase your score.
    • Use "Shift," "Control," and "Q" keys simultaneously to stop the game.
  2. High Scores

    • After losing or stopping the game, you will be prompted to enter your nickname for the high scores board.
    • View the high scores at any time by clicking the "High Scores" button on the main menu.
  3. Exit

    • Click the "Exit" button on the main menu to close the application.

Features

  • Dynamic game board with randomly generated walls.
  • Pacman and ghost characters for an engaging experience.
  • Scoring system: Each pellet collected adds 10 points.
  • Multiple lives for Pacman.
  • Ability to stop the game at any time.
  • High scores board with player nicknames and scores.

Video presentations

Overall short video Introduction:

PacmanRecodring.mov