Skip to content

maricard18/pac-man-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pac-Man Game

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.

🕹️ Usage

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.

🎥 Demo

🧬 Cloning

To successfully clone this repository, use this command

git clone https://github.com/maricard18/pac-man-game.git

About

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.

Contributing

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

Releases

No releases published

Packages

No packages published