From c3c932726a61c9b5aca2f44f45106edade096fe5 Mon Sep 17 00:00:00 2001 From: Patricia Aas Date: Sun, 29 Nov 2020 21:16:12 +0100 Subject: [PATCH] Add more text for the exercise --- pacman/README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/pacman/README.md b/pacman/README.md index 3fedd89..5224e0d 100644 --- a/pacman/README.md +++ b/pacman/README.md @@ -1,7 +1,23 @@ [< Back](../README.md) # Mod(C++) - Pac-Man Exercise -## Ghosts +## 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