Pac-Man is a minimalistic game that You can play it online or Download it. In this project we implement the A* search algorithm to enable the Pacman to collect all the pallets (nodes) in the least possible time. Also, there is a user control mode that let the user playing the game using the arrow keys.
💬 Hint: all the scripts are stored in the Assets file (\Pac-Man_Game_project\Assets\Scripts)
This game was built using: Unity Engine (C# language) and Photoshop for designing
- Making and Designing the structure of the game application
- choosing the assets and edit on some of them to customize our use
- Designing the sketch of the the the map
- Creating the game board in Unity
- Implementing the game logic and movement control
- Implementing the user control mode
- Implementing the AI (A* search algorithem) for finding the shortest path and (BFS) algorithm to make a list of all the Pallets of the game
- Designing the interface for main menu
- Creating the main menu of the game
- Designing the result interface
Pac-Man is a c# game so familiarity with c# is required. It is also recommended that you have Git, Unity, and Visual Studio installed.
Use git or the download button (on the right) to download the game source code.
Open Unity and open the project folder(make sure that you installing the same version of unity), then click on play, the game should start, if not check errors with your browser debugging utility.
The game graphics are packed in (\Pac-Man_Game_project\Assets) and image cutouts (sprites) are defined in sprites file (\Pac-Man_Game_project\Assets\Sprites).
MIT
You are Pac-Man, and your goal is to eat all the Pallets(Nodes) in the least time.
For more inquiries and additional help ,feel free to contact us.
Yahya Hassan
Mohammed Rafat
💪 This project was carried out under the supervision of Dr.Samir El-Mogy and Eng.Amr El-Edkay.
🤖 AI 2021/2022
🏫 Faculty of Computer & Information Sciences | Mansoura University