Go to file
Patricia Aas 591872ea30 Try to make cmake to git submodule things 2021-06-22 13:17:12 +02:00
.github/workflows
assets
lib Initialize Event object 2021-06-22 13:17:12 +02:00
solution
src Remove args from main 2021-06-22 13:17:12 +02:00
test
toolchains
vcpkg@4dc864e240
.clang-format
.gitmodules
CMakeLists.txt Try to make cmake to git submodule things 2021-06-22 13:17:12 +02:00
README.md Add notes on git submodule 2021-06-22 13:17:12 +02:00
vcpkg.json

README.md

Mod(C++) - Pac-Man Exercise

Setup VCPKG

git submodule init git submodule update On windows, run .\vcpkg\bootstrap-vcpkg.bat. On other platforms, run ./vcpkg/bootstrap-vcpkg.sh

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 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