Welcome to the CG-Game repository! This project is an exciting journey into the realm of computer graphics and game development.
To test, Play or experiment with this game, Please follow the following steps:
- Begin by cloning the repository to your local environment:
git clone https://github.com/Ivyson/CG-Game.git - Ensure that you have installed the Live Server extension on your IDE. In my case, I was using VS Code. You can install the Live Server extension from the marketplace.
- If you have installed the Live Server extension, open the folder in VS Code:
cd CG-Game && code . - If the game is running, great! Now, let's look at the functionalities of the game:
- You should see the following screen:
-
To access the game : Click Here
-
To start playing the game, press the Enter button.
- The gameplay screen should look like this:
- To Move Around, Use the Arrow keys:
- Arrow Up: Move up
- Arrow Down: Move down
- Arrow Left: Move left
- Arrow Right: Move right
- To Zoom or change the perspective of the game:
- Scroll in: Zoom in
- Scoll Out: Zoom out
- Mouse Click and Drag: Drags the game and changes the perspective according to the direction you drag it to
- A modern web browser with WebGL and HTML5 support.
- A code editor (optional, if you wish to modify the code).
- This code was only Tested on Google Chrome, Microsoft Edge and was not really functioning well on Mozilla Firefox. Not really Tested on Safari and any other browser, I would Appreciate feedback on how it works if you tried it on a different Browser.
- PacMan is not rotating... The pacman Avatar is supposed to change texture to a pacman faced up when button up pressed etc...
- Collision only works best inside the Ghosts Special Place (Inside the bricks)
- The Ghosts are not having the algorithm for following Pacman
- When The Pause button is pressed, then the game starts misbehaving... --fIXED--
This project is part of the Computer Graphics course at Cape Peninsula University of Technology. Given the limited time for completion, there may be bugs, and improvements are welcome. Contributing to open-source projects is a great learning opportunity, so your input is invaluable for educational purposes and further exploration.
- Fork the project.
- Create your feature branch:
git checkout -b feature/uFeature - Commit your changes:
git commit -m "Add a descriptive message about your update" - Push to the branch:
git push origin feature/uFeature
- GitHub: Ivyson
- Telegram: WhoAreYouKiid
- For the development of this game, diogofferreira's project on whereby he designed a 3d pacman was very influential : Click Here To visit this project
- Servetgulnaroglu's Video on How to make Pacman using 2d Context was helpfull to design and understand most of the game's Logic:
- The Link to the Video: Click Here
- Link to his repository: Click Here
This project is open-source. Feel free to use, enhance, or experiment with it!

