Mission 6 of 8 · from Level 4 of the book
Mission 6: Make a Mini Game

Code a Catch the Falling Stars game with AI as your teammate. Play our version, then make yours.
Prompts to copy
I'm a beginner learning to code. Write a simple browser game in one HTML file. The player moves a basket left and right with the arrow keys to catch falling stars. +1 point per star. Miss 3 and it's game over. Add comments explaining each part in simple words.
Add a high score and make the stars fall faster every 10 points. Tell me exactly which lines to change and why.
The basket doesn't move. Here's my code: [paste]. What's wrong?
Play the example game Download the code
Open the downloaded file in a plain text editor to read the comments and change the numbers.
Screens look different on your device? Apps update often. The steps in the book still work: look for the same button names.