- This project aims to develop a one-level pacman game based on the original version.
- The project is developed by waypoints, each waypoint do a specific task:
- Waypoint 1: Load Pac-Man Map
- Waypoint 2: Simplify Pac-Man Map
- Waypoint 3: Convert Simplified to Human-Viewable Pac-Man Map
- Waypoint 4: Compress Pac-Man Map with RLE
- Waypoint 5: Save the Compressed Pac-Man Map
- Waypoint 6: Uncompress Pac-Man Map with RLE
- Waypoint 7: Base Class Object
- Waypoint 8: Object Class Hierarchy
- Waypoint 9: Class Map
- Waypoint 10: Map Grid Representation
- Waypoint 11: Game Level
- Waypoint 12: Setup Pac-Man Game Engine
- Waypoint 13: Color Palette
- Waypoint 14: Game Scene
- Waypoint 15: Game Loop
- Waypoint 16: Screen Resizing
- Waypoint 17: Score Update and Game End
- Waypoint 18: Ghosts Leaving Home and Moving Randomly
- Waypoint 19: Pac-Man Death
- Waypoint 20: Eating Power Capsule
- Waypoint 21: Standing Start Announcement
- Waypoint 22: Maze Graph
- Waypoint 23: Maze Weighted Graph
- Waypoint 24: Find Shortest Path
- The game requires python 3.8 or later.
- Download from github: https://github.com/ThaiBlue/pacman.git
- Clone from github:
$ git clone https://github.com/ThaiBlue/pacman.git
or
$ git clone https://github.com/ThaiBlue/pacman.git
- Run the code in terminal or any python3 interpreter.
$ python3 game.py
- Move Pacman by pressing arrow key or 'wasd' key to eat all the dots and fruits on the map.
- If you get hit by a ghost, you will lose one life.
- After eating power capsule, you can eat ghost to gain some bonus point.
- The game end when you press 'q' key or all the dots and bonuses gone or you lose all pacman life.
- Tran Chi Thai - student at INTEK institute of applied technology
- Email: thai.tran@f4.intek.edu.vn
- Phone: (+84) 945 577 133