Skip to content

Add sound effects and audio management system - #30

Open
rohit12907 wants to merge 2 commits into
dishu4u:mainfrom
rohit12907:main
Open

Add sound effects and audio management system#30
rohit12907 wants to merge 2 commits into
dishu4u:mainfrom
rohit12907:main

Conversation

@rohit12907

@rohit12907 rohit12907 commented Jun 10, 2026

Copy link
Copy Markdown

Pull Request

Description

Implemented a complete audio management system for the Pac-Man game.

Changes Made

  • Added gameplay background music.
  • Added food collection sound effect.
  • Added ghost collision sound effect.
  • Added game over sound effect.
  • Added mute/unmute functionality using the M key.
  • Added centralized SoundManager class for audio handling.

Additional Enhancements

  • Added a Pac-Man themed welcome screen with Start Game functionality.
  • Added game restart functionality after game over.
  • Added Game Over menu with Restart, Back to Menu, and Exit options.
  • Added sound status indicator (Sound ON / Muted).

Fixes #1


Type of Change

  • Bug fix
  • New feature
  • UI improvement
  • Documentation update
  • Performance improvement

Checklist

  • My code follows the project style
  • I tested my changes
  • I have updated documentation if needed
  • My changes generate no new warnings

Screenshots (if applicable)

Welcome Screen

Screenshot 2026-06-10 144959

Gameplay Screen

Screenshot 2026-06-10 145034

Game Over Menu

Screenshot 2026-06-10 145107

@rohit12907 rohit12907 closed this Jun 10, 2026
@rohit12907

Copy link
Copy Markdown
Author

Closing this PR and creating a cleaner PR with only the required files.

@rohit12907 rohit12907 reopened this Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Sound Effects to the Game

1 participant