Prompts
Let's create an interactive html, css, and javascript spelling game for second grade students that is complete, self-contained and embeddable file. Use the attached file for the word source. Use only words appearing in the list. Randomize the words for endless, non-repetitive game play. The goal of the game is to win by spelling 30 words correctly. Keep a streak counter with a confetti celebration for every 5 correct words. Speak the word from the list in a clear and easily understandable voice two times with a 2 second pause in between each spoken iteration. Add a Say Word button to allow player to hear the pronunciation multiple times if needed. Present a sentence with a blank where the word in play should appear. Game players will spell the word using the alphabet tone keyboard. Add a submit button for when all the letters have been played on the keyboard. If correct, play the tones for each of the letters in the word as a song with one second per letter. Add a Next Word button if correct. If incorrect, play a whomp whomp trombone sound, and add a Try Again button. Allow the player three attempts before showing the correct spelling and presenting the Next Word button. Player wins after 30 words are spelled correctly. Show a fireworks celebration and play a trumpet fanfare after 30 correct words.
Iteration
Change to a more understandable and higher pitched voice. Add a Next Word button to advance to the next word.
Iteration 2
If the word is spelled correctly by the player, advance to the next word automatically after 2 seconds. Change the Skip button to Next Word. The letter E doesn't currently play its tone, Fix that
Iteration 3
The streak counter is not advancing because the Next Word button is acting as a Skip Button. If the word is correct, the Next Word button should accept the word as correct, advance the streak counter by 1 and present the next word.
Iteration 4
Don't play the tones again after the Next Word button is clicked. Only play the word tones after the submit button is clicked if the word is correct.
Iteration 5
Clear the entered letter spaces after the player clicks submit if the word is spelled incorrectly.
Iteration 6
In the event of an incorrect spelling, the Next Word button does not advance the game after the correct spelling is added. Fix this.
Iteration 7
The keyboard will need an apostrophe for words like DON'T that require one. Add an apostrophe to the keyboard next to the letter L and assign it the tone 1046.5 hertz.
Iteration 8
Double check that each sentence and each game word input matches. For example, "What does that word MEAN?" Should have the correct spelling MEAN and not MEANS. Also, the Play Again button did not launch a new game. Ensure that after 30 correct spellings, the new game button launches a new game.