Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Terminal Pacman 🟡

A terminal-based implementation of the classic Pacman arcade game using ASCII graphics and ANSI escape sequences.

Overview

This project recreates the Pacman experience in the terminal, featuring authentic ghost AI behaviors, smooth rendering, and all the classic game mechanics. Built with Python, it demonstrates advanced terminal manipulation techniques and clean game architecture.

Technical Scope

  • Rendering Engine: Custom ANSI-based renderer with double-buffering
  • Game Logic: Complete Pacman rules, scoring, and level progression
  • Ghost AI: Faithful recreation of Blinky, Pinky, Inky, and Clyde behaviors
  • Input System: Non-blocking keyboard controls
  • Performance: Optimized for smooth terminal gameplay

Architecture

Game Engine ──► Renderer ──► Terminal
     │
State Manager
     │
Game Objects / AI System / Input Handler

The modular design separates game logic from rendering and I/O, making the codebase easy to understand and extend.

Requirements

  • Python 3.7+
  • Terminal with ANSI escape sequence support
  • 80x24 character window minimum

Development Status

🚧 Under Active Development

  • Core rendering engine
  • Maze system
  • Player controls and collision
  • Ghost AI implementation
  • Scoring and power-ups
  • Sound effects and polish

Contributing

Contributions welcome! Key areas include game mechanics, AI improvements, testing, and cross-platform support. See CONTRIBUTING.md for guidelines.

References

License

MIT License - See LICENSE


Building the classic arcade experience, one character at a time.

About

Implementation of the pacman game

Resources

Stars

12 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors