https://github.com/woodrowb96/ncurses-pacman
Terminal-based Pac-Man game written in C++ using ncurses.
https://github.com/woodrowb96/ncurses-pacman
cli cli-game cplusplus cpp game game-development ncurses ncurses-game pacman pacman-game terminal-game tui tui-game
Last synced: 3 months ago
JSON representation
Terminal-based Pac-Man game written in C++ using ncurses.
- Host: GitHub
- URL: https://github.com/woodrowb96/ncurses-pacman
- Owner: woodrowb96
- Created: 2025-07-21T23:59:25.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-02-26T05:29:26.000Z (4 months ago)
- Last Synced: 2026-02-26T09:59:36.500Z (4 months ago)
- Topics: cli, cli-game, cplusplus, cpp, game, game-development, ncurses, ncurses-game, pacman, pacman-game, terminal-game, tui, tui-game
- Language: C++
- Homepage:
- Size: 62.5 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-cli-apps-in-a-csv - NCurses Pacman - Terminal-based Pac Man game written in c++. (<a name="games"></a>Games)
- awesome-cli-apps - NCurses Pacman - Terminal-based Pac Man game written in c++. (<a name="games"></a>Games)
README
# nCurses Pacman
A terminal-based PacMan game written in C++ using the ncurses TUI library.
https://github.com/user-attachments/assets/827631d1-a493-4d1c-ab2f-df1f35e3bce4
## Overview
An Object Oriented Programming implementation of Pacman with full ghost AI, power-ups, warp tunnels, and level progression.
## Architecture
This project has three main class categories:
- A game pieces class hierarchy for all drawable and interactive objects.
- Screen and window classes used to print to the screen and get user input.
- A Game class that runs the game loop, ghost AI, and state management.
## Build & Run
Requires `g++` and `ncurses`.
```
make
./pacman
```