Go to file
Corentin Jabot af03c13a97 Put pacman binary in the same directory as the assets 2021-05-10 15:04:31 +02:00
.github/workflows Update cmake.yml 2021-04-12 18:41:28 +02:00
assets Use VCPKG and reorganization 2021-05-10 14:58:00 +02:00
lib Use VCPKG and reorganization 2021-05-10 14:58:00 +02:00
solution Use VCPKG and reorganization 2021-05-10 14:58:00 +02:00
src Put pacman binary in the same directory as the assets 2021-05-10 15:04:31 +02:00
test Use VCPKG and reorganization 2021-05-10 14:58:00 +02:00
toolchains Get the basic file framework up 2020-11-23 19:59:11 +01:00
vcpkg@5a271a9290 Use VCPKG and reorganization 2021-05-10 14:58:00 +02:00
.clang-format Reformat most 2020-11-27 17:16:42 +01:00
.gitmodules Use VCPKG and reorganization 2021-05-10 14:58:00 +02:00
CMakeLists.txt Use VCPKG and reorganization 2021-05-10 14:58:00 +02:00
README.md Use VCPKG and reorganization 2021-05-10 14:58:00 +02:00

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