Prompt
Code an html, css, and JavaScript game that is self-contained, complete, and embeddable for 6th graders learning Greek and Latin root words. The goal of the game is to get a score above 10 on each level to advance to the next level. Make the game with raindrops falling from the top of the screen with a bucket for the player to catch the raindrops. Each rain drop should have a word with the Greek or Latin root contained in it written on the drop. The player uses the right and left arrow keys on the device to move the bucket to catch the drops with the root in play and to avoid the distraction words not associated with the root in play. For example, on the screen have words like this: “Catch the words that have the root meaning “to build.” The player will catch all the words with the root -struc or -struct in them, but the player will avoid the distractor words with -cred or -tract or other randomized roots. Use the document provided to create the game rounds. Provide at least 25 opportunities for the root in play. If the player achieves 10 drops caught, allow them to advance to the next level that uses a different root. Create 10 rounds using 10 randomly selected roots for each level. Provide a celebration with flashing lightning and a thunder sound if the player catches 10 drops. Use the entire source document to create random levels for endless, non-repetitive game play. With each advancing level, increase the difficulty by adding more distractors and increasing the speed slightly. Add a Make It Rain button to start each level and provide a scoreboard with point tracking that is cumulative and keeps the total points for all levels. If the player achieves 100 points for the entire game, provide a flood animation.
Iteration
Make a score of 10 drops caught on each level the winning score. Create a pleasing navy blue, white, black, and gray theme.
Iteration 2
Remove the hint for the root to catch from the start level screen. Players should know this.
Iteration 3
Change the start level screen to include the meaning of the root without showing the actual root. For example, “Catch words with the root meaning hand” without showing man- or man- on the start level screen.