Computer Science

# Lab 6 - andor

## Activities

### roses_red.py

Some of the roses are green and blue! Bit has been tasked with painting the roses red.

### clear_green.py

Clear only the green squares next to a black square.

### scurry.py

Bit likes to scurry around.

He goes until the front, left, and right are all blocked.

If his front gets blocked, he turns in the direction that is open.

He paints empty squares green and green squares blue.

### remove_rocks.py

There are rocks (blue squares) in Bit’s strawberry patch. Remove them.

The green blocks mark the beginning and end of the strawberry patch. Only the rocks inside the patch should be removed. Do not remove the strawberries (red squares)!

### paint_and_exit.py

Bit needs to paint the room blue and then go to his green car.

roses_red.py6
clear_green.py6
scurry.py6
remove_rocks.py6
paint_and_exit.py6