Skip to content

Pacman Clone made using Processing, Java, Object Oriented Programming, and complex pathfinding algorithms

Notifications You must be signed in to change notification settings

esohel30/Pacdude

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Pac-Dude: A Processing-Based Arcade Game

Project Overview

"Pac-Dude" is a dynamic reimagining of the classic Pac-Man game, developed using the Processing language. This project not only offers a nostalgic arcade experience but also incorporates advanced programming concepts, including sophisticated pathfinding algorithms and state management for the ghost characters.

Key Features

  • Enhanced Gameplay Mechanics: Combines traditional Pac-Man gameplay with new challenges and dynamic difficulty scaling.
  • Custom Map Generation: Algorithmically generated maps provide a unique experience in each game session.
  • Interactive Sound Effects: Integrated audio enhances player immersion.
  • Object-Oriented Design: Modular and reusable code using classes like PacDude, Map, and Ghost.
  • Advanced Pathfinding Algorithms: Ghosts use complex algorithms to chase and ambush the player, adding to the game's challenge.
  • Sophisticated State Management: Ghosts switch between different states such as 'Chase', 'Scatter', and 'Frightened', each affecting their behavior and strategy.
  • Collision Detection and Response: Critical for gameplay mechanics, ensuring accurate interactions within the game environment.

Pathfinding Algorithms

The ghost characters in "Pac-Dude" use a variety of pathfinding algorithms to create a challenging experience:

  • Chase Mode: Each ghost has a unique chasing strategy, from directly pursuing Pac-Dude to predicting his future position.
  • Scatter Mode: Ghosts temporarily stop chasing Pac-Dude and retreat to their home corners, giving players short breaks.
  • Frightened Mode: When Pac-Dude consumes a power pellet, ghosts enter a vulnerable state where their movement becomes erratic, providing an opportunity for Pac-Dude to catch them.

Images from Game:

Screen Shot 2024-01-15 at 8 50 33 PM Screen Shot 2024-01-15 at 8 50 40 PM Screen Shot 2024-01-15 at 8 57 39 PM Screen Shot 2024-01-15 at 8 56 34 PM Screen Shot 2024-01-15 at 8 58 22 PM

Getting Started

Prerequisites

Installation

  1. Clone or download this repository.
  2. Import offical Sound Library
  3. Run Gamerunner.pde

About

Pacman Clone made using Processing, Java, Object Oriented Programming, and complex pathfinding algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published