From 45bad37220c68be3e3d37cb95dd82251a999b090 Mon Sep 17 00:00:00 2001 From: Patricia Aas Date: Sun, 17 Oct 2021 20:17:38 +0200 Subject: [PATCH] Update README.md --- exercises/16/make_ghost/README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/exercises/16/make_ghost/README.md b/exercises/16/make_ghost/README.md index 9b08a48..7ce73c1 100644 --- a/exercises/16/make_ghost/README.md +++ b/exercises/16/make_ghost/README.md @@ -2,16 +2,19 @@ # Exercise: Add Clyde as a Ghost -## Background: +## Background: Clyde We have three ghosts within the project. Blinky, Inky and Pinky. But Clyde is missing. Implement Clyde and their behavior. -Clyde always chases PacMan so the only thing you should need is where PacMan is currently located. But Clyde also has -the scatter behavior as the other ghosts. - -Where are the graphics for Clyde in the assets file and how can we make sure the ghost will be correctly rendered? +Clyde chases PacMan so you need to know where PacMan is currently located. But Clyde gets scared and runs back to its scatter target when PacMan gets too close (less than 8 the size of a cell). +Clyde also has the scatter and eyes behaviors as the other ghosts. ## Exercise -1. +1. Clyde should inherit from Ghost +2. Make simple implementations of the functions to make it compile +3. Clyde should start at Position { x = 15.5, y = 14 } +4. Clydes sprite is the orange one. Where are the graphics for Clyde in the assets file and how can we make sure the ghost will be correctly rendered? +5. Clydes scatter target is { x = 0, y = 30 } +6. Clyde always targets its scatter target, unless PacMan is further than 8 tiles away