Unit 5. Final Project Example, Level 2

Sick smiley

Notes

This example builds on the level 1 example. When the user presses the `s` key, they make our little character sick (a green, sick face is drawn instead of a happy one).

To try, click on the sketch below. Press s to see the sick face, hover over the face to blink.

Sketch

Code