blob: d1375686177daa9ef1fd28cbe7618abce9a70bb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Description
- A very basic Pacman clone done in python using pygame library
# Run
- Open your favourite terminal
```bash
cd src
python3 macpan.py
```
# TODO
## Must DO
- [X] Setup the basic player movement mechanics
- [X] Replace the yellow circle with a pacman sprite
- [X] Setup the sprite animation for pacman
- [X] Setup collision with walls
- [X] Load the proper sprites for the map
- [ ] Setup collision with the map
- [ ] Add the ghosts in the game
- [ ] Setup the sprite animation for the ghosts
- [ ] Develop an algorithm to make the ghosts find pacman in the map(BFS, A*)
- [ ] Add the Algorithm for Blinky (Normal A*)
- [ ] Add the Algorithm for Pinky (Normal A* + 4 spaces ahead of pacman)
- [ ] Add the Algorithm for Inky (Ambush)
- [ ] Add the Algorithm for Clyde (Same as Blinky excepts when he gets 8 tiles close to pacman he retreats, So he is basically useless)
## Optional
- [ ] Setup a menu for the game
- [ ] Setup a simple score system
- [ ] Setup a proper sfx/audio for the game
- [ ] Add powerups
- [ ] Add firghtening mode for the ghosts
# EXTRA BONUS
- [ ] Make a nueral network agent that fully plays the game alone using reinforcment learning and PyTorch
|