Etch-A-Sketch

Download the following code and get it to compile.

Files Needed

What You Should Do on Your Own

Assignments turned in without these things will receive no credit.

  1. Modify the game so that the circle can move left and right instead of just up and down.
  2. Make the circle a bit smaller, and make it move 10 pixels at a time instead of 5.
  3. Make it so that if you press F1, the current color changes to red, F2 changes it to green, F3 changes to blue, and F5 resets to black.



©2013 Graham Mitchell

This assignment is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.
Creative Commons License