This project is a replica of the classic Pac-Man Game, originally developed in 1980.
It has been implemented in C++ using the raylib graphical library.
To play this game you can use the make run
command.
This rule will generate a pac-man
file, which is the zipped version of the game.
You can launch the executable by running the command ./pac-man
This project currently supports only Mac and Linux platforms.
To successfully clone this repository, use this command
git clone https://github.com/maricard18/pac-man-game.git
All the graphical components in this game were created using functions from the raylib library, no images or textures were utilized.
The CPU movement pattern was implemented using a self-made random algorithm system.
The primary movement is always upwards unless it encounters a dead end.
When passing through an intersection or facing a possible new direction, it has a 60% chance of continuing forward and a 40% chance of turning left or right.
Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests through GitHub.
Feel free to ask me any questions through Slack (maricard).
GitHub @maricard18 · Linkedin Mario Henriques · 42 Porto