To start this assignment, download this zip file.
Project 2 - Bit Problems
Inverting the World
Bit is in a world with a blue picture on a white background:

Invert the entire world. Blue should become empty, and empty should become blue. The final world should look like this:

There is a second world that looks like this:

and when Bit is done it should look like this:

You can find starter code in invert.py.
Blue S
Move Bit to the right edge of the grid. Along the way, if Bit encounters a green square, draw a blue āSā. The bends in the āSā are marked by blocked squares.
The first world looks like this:

and at the end should look like this:

The second world looks like this:


You can find starter code in blue_s.py.
Escape
Bit is exploring a cave and finds a secret gem that has been hidden for centuries:

Unfortunately, his enemies have started to flood the cave with water! Help Bit escape by (1) picking up the gem, (2) running through the cave, (3) climbing the moss-covered cliff at the end. The final world should look like this:

The water has followed Bit as they run, and Bit has put down the gem to examine it.
There is a second world that looks like this:

and the at the end should look like this:

Note that the gem may be a ruby (red) or an emerald (green).
You can find starter code in escape.py.
Pools of Gems
When Bit was examining the gem, they discovered a secret ingredient that lets them replicate gems. So Bit goes to their backyard, where there are a bunch of empty holes. Bit picks up a gem, then fills the next pool with copies of that same gem.
One of the starting worlds looks like this:

at the end, the world should look like this:

The other starting world looks like this:

at the end, the world should look like this:

Grading
| Activity | Points |
|---|---|
| Inverting the World | 25 points |
| Blue S | 25 points |
| Escape | 25 points |
| Pools of Gems | 25 points |