CS 199: SPST Games
~~~~~~~~~~~~~~~~~~
Assignment 9:
~~~~~~~~~~~~~
- Examples of all these tasks are available on "PSU CS199"
Task 1:
~~~~~~~
- Create an object that counts the number of times it has been clicked.
Task 2:
~~~~~~~
- Create an object that alternately travels up one meter, and down one meter
when clicked.
Task 3:
~~~~~~~
- Modify task #1 so that your object turns red when the count is divisible by
3, and blue otherwise.
Task 4:
~~~~~~~
- Combine task 2 and task 3 into one script.