You are on page 1of 2

Arcade game

1. This time Karel needs to go through several floors of an arcade game


shown in Fig. 65, collect all gems, and enter his home square which is
located at the East end of the top floor. There is only one opening between
each two floors. Initially, the robot stands somewhere in the first floor.

Note: the robot has to remember the positions of all gems and counts of all
gems. At the end, the robot should print the positions.

2. To Use the Turtle for draw the next figure.


You must use class for each geometric figure.

You might also like