Atestat de Informatică — Clasa a XII-a
Built with C++17, Raylib, and CMake.
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.
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.
| 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 |
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/
chmod +x installerLinux.bash
./installerLinux.bashThe script will:
- Check that
g++,cmake, andmakeare installed - Tell you exactly how to install anything that's missing (per your distro)
- Download Raylib automatically if not present
- Compile and launch the game
Double-click installerWindows.bat or run it from a terminal.
The script will:
- Download CMake if not found
- Download and install MSYS2 + MinGW GCC if not found
- Compile and launch the game
First build may take a few minutes. Raylib is fetched and compiled automatically.
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . -j$(nproc)
./PacmanFree 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.