Challenge

To make the game harder, try making the beam on the left longer. Try adding another beam in the back that runs from left to right. Finally, have the ball land on the edge of that new beam in the back.

You might also try adding a scoreboard like the one in Chapter 11, ​Project: Fruit Hunt​ that resets the game if the player can’t finish in a certain amount of time.

Can you think of other ways to improve this mini-game? Get creative!

Get 3D Game Programming for Kids, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.