Prompts
Code a Plinko game in html, css, and javascript. Make the file self-contained, complete, and embeddable. Create the Plinko board using the sample image provided but replace the numbers at the bottom with the numbers 1 through 17 with 1 on the left and 17 on the right. Use a pleasing color scheme with navy blue, white, and black as the primary colors. Allow the player to position the circular puck to drop into the board at the top. Play a ding sound when the puck stops at the bottom and add a metallic tink sound when the puck strikes the white dots.
Iteration
Now make the puck fall into the Plinko game when the player clicks the mouse.
Iteration 2
Use the attached file to generate 400 multiple choice questions from the Biology section. Allow 4 choices for each question. Assign 20 questions for each of the 17 bins in the Plinko board with extra questions for sections that receive more puck drops based on probability. Randomize the questions and answers for endless, non-repetitive game play When the puck lands in a numbered bin, show the question and the multiple choice options. Player will select an answer from the four options. Create a scoreboard for two teams. If correct, play a ding sound and assign one point to that team. If incorrect, no points are awarded. Give the next turn to the opposing team. First team to 10 points wins and show a confetti celebration and play a trumpet fanfare.
Iteration 3
If the player answers incorrectly, show the correct answer. Change the shape of the game board to a rectangle, but keep the width at 17 bins similar to this image. Allow the player to aim by dragging the puck to the desired location prior to tapping to drop the puck. Randomize the questions more effectively so that no question appears more than once in a game.
Iteration 4
Make bins 2, 4, 6, 8, 10, 12, 14, and 16 worth 2 points if a puck lands there and the player answers correctly. Make bins 7, 9, and 11 worth three points if the puck lands there and the player answers correctly. Change the winning score value to 20 points.
Iteration 5
There is way too much repetition in the questions, and most of the questions are not actually questions. They have largely been statements. Reformat the questions as questions, not statements, and add 200 more questions to the question library. Randomize them more effectively.