Interactive Sketches Assignment
Directions:
Students should start at bronze and work their way up to gold if desired. Flowcharts ARE required for this assignment. Programming should include comments, proper variable names and other programming standards. Submit flowcharts and source code (.pde file) to MS Teams.
Evaluation:
Flowcharts: 5 Marks
Programs: Max of 15
Total: 20 marks
Students should start at bronze and work their way up to gold if desired. Flowcharts ARE required for this assignment. Programming should include comments, proper variable names and other programming standards. Submit flowcharts and source code (.pde file) to MS Teams.
Evaluation:
Flowcharts: 5 Marks
Programs: Max of 15
Total: 20 marks
Bronze Level: (Max 10 Marks)
Modify your etch-a-sketch exercise.
Modify your etch-a-sketch exercise.
- First line should not start at the origin. Start at the first mouse position
- Allow the user to change colours using keys on the keyboard. Document this within your code.
- When the mouse is released, a new line is not created. Do not continue the previous line.
Silver Level: Pong. (max 12 marks)
Online practice: Play Pong Game
Modify your bouncing ball exercise. Using the line function, create a "paddle". Move the paddle using the up and down arrow keys. When the ball hits the paddle, the ball will bounce off.
Online practice: Play Pong Game
Modify your bouncing ball exercise. Using the line function, create a "paddle". Move the paddle using the up and down arrow keys. When the ball hits the paddle, the ball will bounce off.
Gold Level: (15 marks)
Independent learning - Modify the silver-level program and add additional functionlity. This could include
BONUS (2 point)
Allow the pong program to use a joystick or controller.
Joysticks in Processing? Procontroll library help! - Processing 2.x and 3.x Forum
Independent learning - Modify the silver-level program and add additional functionlity. This could include
- keeping score
- changing speed
- making a 2 player game
- add colours
- use a case/switch statement
BONUS (2 point)
Allow the pong program to use a joystick or controller.
Joysticks in Processing? Procontroll library help! - Processing 2.x and 3.x Forum