Assignment: Scene Switching

Outcomes include:
CS20-FP3 Construct and utilize functions to create reusable pieces of code.
(a) Explore the benefits of using built-in and user-defined functions.

CS20-CP2 Use common coding techniques to enhance code elegance and troubleshoot errors throughout Computer Science 20.
(a) Discuss and implement appropriate coding style (e.g., indentation and comments) and naming conventions for the programming language used in Computer Science 20.
(d) Create internal documentation (e.g., inline comments and header comments) for a program.
(e) Discuss different types of errors (e.g., syntax, semantic and runtime) and their impacts on program execution.
(f) Identify and correct errors in a program.

Create an interactive scene that changes when any key is pressed. The original scene must return when the key is released. Some possible ideas:

Assignment Rubric

Assignment examples: