Project Magic 8 Ball
140 possible xp
Khan Academy Magic 8 Ball – 30xp
The Bouncing Ball – 30xp
Note. To make sure the ball doesn’t repeatedly go in the same pattern, by adding some random amount to the xspeed. Every iteration I add a little bit to the x position of the ball like this:
x = x + xspeed;
And let’s say I initialize xspeed to 2:
var xspeed = 2;
When I hit the top edge of the board I do:
xspeed = xspeed + random(-1, 3);
The Paddle: 30xp
Every time the ball hits the paddle, the paddle gets shorter. As before when the ball hits the top, the x speed of the ball changes a random amount. If the ball misses the paddle, the ball starts at some random x position at the top of the board.
Blue Red 30xp
The pattern starts at blue. You can do this one or the hacker edition called The Pulse below. (You can only get points for one or the other)
The Pulse – 50xp
Creative Remix: 30xp
Remix the above ideas in an interesting way. For example, can the pulse be moving and bouncing? Can the paddle game have points displayed?