Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 1 month ago
JSON representation

Good old PacMan game made in Python with Pygame and Tkinter.

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.