https://github.com/erthium/pacman
Good old PacMan game made in Python with Pygame and Tkinter.
https://github.com/erthium/pacman
game game-design level-design pacman pygame python tkinter
Last synced: 11 months ago
JSON representation
Good old PacMan game made in Python with Pygame and Tkinter.
- Host: GitHub
- URL: https://github.com/erthium/pacman
- Owner: erthium
- License: mit
- Created: 2022-06-10T23:03:43.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-22T21:25:35.000Z (over 2 years ago)
- Last Synced: 2025-03-04T10:16:33.291Z (over 1 year ago)
- Topics: game, game-design, level-design, pacman, pygame, python, tkinter
- Language: Python
- Homepage:
- Size: 594 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PacMan
The good old PacMan game simulated with PyGame.
## License
This project is [MIT](https://github.com/ErtyumPX/SpaceInvaders/blob/main/LICENSE) licensed.
## Setup
The python script 'Game/main.py' is the launcher of the game. After you clone or download the repository, you can run that file.
Beware that used Python version of this project is [3.8.3](https://www.python.org/downloads/release/python-383) and the used Pygame version is [2.0.1](https://www.pygame.org/project/5409/7928).
## Images from the Game
### Game's Itself

### Map Creater for the Game

### SuperBerry that Allowes You to Consume Enemies

## Algorithms
### Pathfinding
For enemies, they check which square that they could move next is closer to the PacMan by pixels whenever they come to a turning point, and choosing the closest node with a 60 percent of chance. If our little Pacman is on superberry effect and able to consume them, the odds are turned.
### Engine
All the system created and used are also in this repository [PyGameEngine](https://github.com/ErtyumPX/PyGameEngine). It includes scene management system, various scene transitions, render manager, asyncronous character animations and also the UI Elemenets created from scrtach.