pacman/pacman
2020-11-29 21:16:12 +01:00
..
assets Move files into their own directory 2020-11-27 15:09:41 +01:00
lib Whitespace cleanup 2020-11-29 19:28:42 +01:00
src Whitespace cleanup 2020-11-29 19:28:42 +01:00
test Whitespace cleanup 2020-11-29 19:28:42 +01:00
CMakeLists.txt Whitespace cleanup 2020-11-29 19:28:42 +01:00
conanfile.py Add gtest 2020-11-27 18:50:58 +01:00
README.md Add more text for the exercise 2020-11-29 21:16:12 +01:00

< Back

Mod(C++) - Pac-Man Exercise

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