pacman/README.md

35 lines
1.1 KiB
Markdown
Raw Normal View History

# Mod(C++) - Pac-Man Exercise
2020-11-27 13:10:09 +00:00
## Setup VCPKG
2020-11-28 11:08:39 +00:00
2021-06-22 08:15:59 +00:00
git submodule init
git submodule update
On windows, run `.\vcpkg\bootstrap-vcpkg.bat`.
On other platforms, run `./vcpkg/bootstrap-vcpkg.sh`
2020-11-28 11:08:39 +00:00
2021-06-01 11:35:51 +00:00
Dependencies will be automatically when running CMake.
## Keep PacMan Score
* Implement score by implementing eating of pellets by Pac-Man
* Use the existing test.cpp file for TDD scoring
* Pellets are worth 10 points - SuperPellets 50 points
* Implement support for the pellets to be eaten
* Implement support for counting pellets eaten by PacMan
* (Extra: Display score - if you have a LOT of time)
## Make a ghost
* Use the PacMan class as inspiration
* Pic a sprite from [sprites32.png](assets/sprites32.png) for the ghost
* Make an algorithm for movement (simple is fine)
* For fancy algorithm see next section
### Ghosts characters and algorithms
These will probably become relevant
* https://en.wikipedia.org/wiki/Ghosts_(Pac-Man)
* https://youtu.be/ataGotQ7ir8
* https://gameinternals.com/understanding-pac-man-ghost-behavior
* https://www.gamasutra.com/view/feature/3938/the_pacman_dossier.php?print=1
2021-06-23 18:44:47 +00:00
* https://www.slideshare.net/grimlockt/pac-man-6561257