SkillAgentSearch skills...

PyPacman

This project is a classic Pacman game built with Python and Pygame. Control Pacman to collect all the dots while avoiding four ghosts with unique movement patterns. The game features custom graphics, sound effects, score tracking, and win/lose screens.

Install / Use

/learn @Mayank-cyber-cell/PyPacman
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Pacman Game

This is a simple Pacman game implemented in Python using the Pygame library.

Features

  • Classic Pacman gameplay with collectible dots and ghosts.
  • Four ghosts (Blinky, Pinky, Inky, Clyde) with unique movement patterns.
  • Custom graphics and sound.
  • Score tracking and win/lose screens.
  • Replay and quit options.

Requirements

Installation

  1. Install Python 3.x from python.org.
  2. Install Pygame:
    pip install pygame
    

How to Run

  1. Make sure all files and the images folder are in the same directory.
  2. Run the game:
    python pacman.py
    

Controls

  • Arrow keys: Move Pacman
  • ENTER: Restart game after win/lose
  • ESCAPE: Quit game

File Structure

  • pacman.py: Main game source code
  • images/: Contains sprite images for Pacman and ghosts
  • pacman.mp3: Background music
  • freesansbold.ttf: Font used for score and messages

Credits

  • Game developed using Pygame.
  • Sprites and sound assets are included in the repository.

License

This project is for educational purposes.

Related Skills

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated2mo ago
Forks0

Languages

Python

Security Score

70/100

Audited on Jan 5, 2026

No findings