Skip to content

Latest commit

 

History

43 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pacman C++

Atestat de Informatică — Clasa a XII-a
Built with C++17, Raylib, and CMake.


Signature

This project was created as my lucrare de atestat (Romanian high school computer science thesis) in 12th grade.

You are free to use, study, modify, and distribute this project for any purpose: learning, experimentation, personal projects, or anything else.

One exception: You may NOT submit this project (in whole or in part) as your own "atestat" or academic thesis.


About

A classic Pacman arcade game built from scratch in C++ using the Raylib graphics library. The project includes a full game loop, ghost AI movement, collision detection, menus, and map rendering all compiled and packaged via CMake.


🛠️ Dependencies

Tool Purpose Notes
C++17 Language standard Required
CMake ≥ 3.16 Build system Required
GCC / MinGW Compiler MinGW via MSYS2 on Windows
Raylib 5.0 Graphics & input Auto-downloaded by CMake if not found

📁 Project Structure

Pacman/
├── CMakeLists.txt
├── installerLinux.bash        # Linux build & run script
├── installerWindows.bat      # Windows build & run script
├── resources/
│   └── images/
└── src/
    ├── main.cpp
    ├── Player class/
    ├── Phantom class/
    ├── Menu class/
    └── CollisionManager/

Building & Running

Linux

chmod +x installerLinux.bash
./installerLinux.bash

The script will:

  1. Check that g++, cmake, and make are installed
  2. Tell you exactly how to install anything that's missing (per your distro)
  3. Download Raylib automatically if not present
  4. Compile and launch the game

Windows

Double-click installerWindows.bat or run it from a terminal.

The script will:

  1. Download CMake if not found
  2. Download and install MSYS2 + MinGW GCC if not found
  3. Compile and launch the game

First build may take a few minutes. Raylib is fetched and compiled automatically.


Manual Build (any platform)

mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . -j$(nproc)
./Pacman

License

Free to use for any purpose, except academic submission as your own atestat/thesis.


Made with 💛 and a lot of g++ errors, clasa a XII-a.

About

Pac-Man clone in C++/Raylib,12th-grade atestat project.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages