Objective: Your goal is to eat all the dots in the maze to complete each level while avoiding the ghosts. You'll earn points for every dot you consume and bonus points for eating power pellets and fruits. Controls: Use the arrow keys on your keyboard to control Pac-Man's movement. Press the up arrow to move Pac-Man upwards, the down arrow to move him downwards, the left arrow to move him leftwards, and the right arrow to move him rightwards. Movement and Maze Navigation: Pac-Man will move continuously in the direction you choose until he encounters a wall or reaches an intersection. Plan your moves strategically to avoid getting trapped by ghosts or losing precious time. Collecting Dots and Power Pellets: As Pac-Man traverses the maze, he'll encounter small dots scattered throughout. Direct him to eat these dots to score points. Each dot you consume will cause it to disappear. Additionally, you'll come across larger power pellets strategically placed in the maze. Eating a power pellet will temporarily empower Pac-Man, allowing him to chase and eat ghosts for a limited time. Take advantage of this opportunity to turn the tables on those pesky ghosts! Ghosts: Beware of the ghosts! In the maze, you'll encounter four ghosts - Blinky, Pinky, Inky, and Clyde. These ghosts are programmed to chase Pac-Man relentlessly. If a ghost touches Pac-Man, you'll lose a life and the game will restart. Be cautious and plan your moves wisely to avoid them. Fruits: Keep an eye out for bonus fruits that periodically appear in the maze. Eating these fruits will grant you additional points. Make sure to grab them whenever you get the chance! Levels and Difficulty: As you progress through the game, the maze will become more challenging, with tighter corridors and faster ghosts. Stay focused and adapt your strategies to overcome the increasing difficulty levels. Scoring: Your score will increase as you eat dots, power pellets, and fruits. Strive to achieve the highest score possible and challenge your friends to beat it. Game Over and Lives: You'll start the game with a set number of lives. If all your lives are depleted, it's game over. You can earn extra lives by reaching certain score milestones. Aim to preserve your lives and avoid colliding with ghosts to stay in the game. Have Fun! Remember, the most important thing is to have fun! Challenge yourself, improve your skills, and enjoy the classic Pac-Man experience.