Project Assignment 3 - Computer Game Development and Animation , NITW (Winter 2021)
Pac-Man is an action maze chase game. the player controls the eponymous character through an enclosed maze. The objective of the game is to eat all of the dots placed in the maze while avoiding four colored ghosts — Blinky (red), Pinky (pink), Inky (cyan), and Clyde (orange) — that pursue him. When Pac-Man eats all of the dots, the player Wins the Game. If Pac-Man makes contact with a ghost, he will loose the game.
In this project, the Pacman will Move inside the maze area, And it have to eat foods(dots) moving around. I implemented general Moving algorithm with keyboard keys and algo which keep track of score and also implemented algo for fixed Movement of ghosts to move around in maze.
- C# - For Coding Part and Libraries.
- Visual Studio Code - Text Editor For Running C# Codes.
- Unity Engine - For Handling Scripts with Runnable Environment.
- Scripts/Pacdot.cs - Here Implemented The Positions of Pacdot and getting destroyed of pacdot with contact of pacman.
- Scripts/PacmanMove.cs - Here all Code of Pacman how it will move and on contact with ghost will kill and contact will destroy food resides.
- Scripts/GhostMoves.cs - It Contains the Predecided Movement Path of all ghosts different for each and there movement speed.
- STEP-1 - To Download Source Code and Playable Build click [Download](https://drive.google.com/drive/folders/1rtoV7bDruZvq4FiP_SG6LGwlsATjVSff?usp=sharing).
- STEP-2 - Extract the **Pac-Man Build.zip** for Playable Content and **Pac-Man Source Code.zip** to see Source Code Content.
- STEP-3 - Open Extracted Folder Than double Click on **Pac-man 2D.exe** to play game.
- STEP-4 - Enjoy the Game!.