Question
Create a children's game of simple questions and answers using Python and specifically the turtle module. The program should be set for 3 players. Each
Create a children's game of simple questions and answers using Python and specifically the turtle module.
The program should be set for 3 players. Each player will be represented on the board by a shape (a turtle, a circle and a square). A finish line will appear on the opposite side of the board. You will use the random object to choose a random number between 1 and 10 then determine who goes first by using a mod three + 1 to determine which of the three contestants (p1, p2, or p3 - those are the turtle names I used, plus the ref turtle who draws the finish line).
I will leave the game content to you (like what questions you want to ask - obviously math questions would be the easiest). When a participant gets a question right they move a set number of pixels toward the finish line. You will indicate their current position by stamping their shape (remember to remove the previous shape so that the turtle appears to be moving). As a side note please make the three shapes three different colors.
When one of the players crosses the finish line (their x coordinate is > or = to the finish line x coordinate), the game ends and you clear the screen and ask if they want to play again. All questions and prompting is done in the shell window. The progress is shown in the turtle window. I realize that some of you are very creative and like to do extra things, but I want you to approach this game as if I were paying you to do EXACTLY what I describe. Adding things I did not ask for is not a good idea from a grade point of view. I want the game to be 4th grade appropriate, meaning that the questions should correspond to some 4th grade level learning curriculum in any subject that you would like. You should provide the user feedback for wrong answer (such as telling them the right answer).
The following is a screen shot of my game (notice I have shown the turns and not questions so you can see the randomized game order the number above the sequence shows the random number that was drawn you should not show that in the final work deliverable) and what yours should look like
ELSE Python 3.5.2 Shell File Edit Shell Debug s Window Hel RESTART : C:/Users/tcalabrese/Documents/Data/courses/CSIS 1101/Python/game!.py Python Turtle Graphics player 2 turn now player 3 goes player 1 goes Y to stop or C to continueY RESTART: C:/Users/tcalabrese/ player 3 turn now player 1 goes player 2 goes Y to stop or C to continueY RESTART: C:/Users/tcalabrese/ 7 player 2 turn now player 3 goes player 1 goes RESTART: C:/Users/tcalabrese/ 3 player 1 turn now player 2 goes player 3 goes Y to stop or C to continueYStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started