Case Narrative Specificationsa. What will a jumper do if the location in front of it is empty, but the location two cells in front contains a flower or a rock? Move one cell only. b. What will a jumper do if the location two cells in front of the jumper is out of the grid? Move one cell only. c. What will a jumper do if it is facing an edge of the grid? Turn like a Bug. d. What will a jumper do if another actor (not a flower or a rock) is in the cell that is two cells in front of the jumper? Remove the other Actor and jump to that location. e. What will a jumper do if it encounters another jumper in its path? Jumpers are treated the same as any other Actor. f. Are there any other tests the jumper needs to make? If both the cell directly in front of and the cell two spaces in front of the Jumper are both blocked, turn like a Bug.
|
|