Forked from https://github.com/mod-cpp/pacman
164db664ef
* Remove non-pacman exercises. * Use vcpkg instead of conan ( make vcpkg a submodule) * Merge the readmem these will need to be improve later |
||
---|---|---|
.github/workflows | ||
assets | ||
lib | ||
solution | ||
src | ||
test | ||
toolchains | ||
vcpkg@5a271a9290 | ||
.clang-format | ||
.gitmodules | ||
CMakeLists.txt | ||
README.md |
Mod(C++) - Pac-Man Exercise
Setup VCPKG
On windows, run .\vcpkg\bootstrap-vcpkg.bat
.
On other platforms, run ./vcpkg/bootstrap-vcpkg.sh
On all platform run ./vcpkg/vcpkg install sdl2-image gtest
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 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