All Projects
Game Development

Pacman-X

About

Pacman-X is a modern, from-scratch recreation of the classic arcade hit, Pac-Man, built entirely in C++ using the Simple and Fast Multimedia Library (SFML). It faithfully captures the nostalgic arcade experience, challenging players to navigate the iconic maze, collect pellets, evade dynamic ghosts, and strategically use power-ups to achieve high scores.

Tech Stack

C++
SFML

Features

Classic Gameplay Mechanics

Navigate the maze using arrow keys to consume all pellets while dodging enemies to progress.

Dynamic Ghost AI

Features distinct, dynamic behaviors for ghosts, making evasion challenging and requiring strategic movement.

Power-Ups & Scoring System

Includes regular pellets (10 points), power pellets (50 points) that render ghosts vulnerable, and combo-scoring for consecutive ghosts.

Game State Management

Accurately tracks player lives, real-time score, and handles win and loss conditions.

Architecture

01

Core Game Loop

A standard game loop continuously handles user inputs, updates entity states, and renders graphical frames.

02

Entity Management

An object-oriented design separates the player, enemies, and static items into distinct programmable components.

03

Collision Detection

Implements grid-based spatial logic to detect boundary hits and entity interactions.

04

Rendering Engine

Leverages SFML's hardware-accelerated graphics and window modules to draw 2D shapes, sprites, and UI text.

Future Improvements

Advanced Ghost AI

Implement classic Pac-Man ghost algorithms (Blinky, Pinky, Inky, Clyde) for a more authentic experience.

Level Progression

Add multiple levels with increasing difficulty, faster ghost speeds, and diverse maze layouts.

Audio-Visual Enhancements

Integrate polished graphics, smooth sprite animations, and classic arcade sound effects.

Social & Competitive Features

Build a persistent leaderboard system and introduce local co-op or competitive multiplayer mode.