Question: Hi, please add the following to my Turtle python program (program will be at the bottom) : Olympic Flag will appear at the top of

Hi, please add the following to my Turtle python program (program will be at the bottom) :

Olympic Flag will appear at the top of Turtle screen must have a white background and the 5 colour rings that appear on the flag

-5 turtles racing with each turtle a colour of one of the rings of the Olympic Flag

-Your race will be random generated so each time there is a possibility that a different turtle will win

-Have all turtles start on a starting line and cross a finish line

-Have a countdown of READY SET GO appear on the screen and then the turtles take off

-Have the program tell the user which turtle won the race or if it was a tie.

-Keep track of how many times each turtle won the race, tie counts as a win.

-Keep track of how many times the user guessed right.

-Allow the user to continue to do the race over and over again until they do not want to do it anymore

-When the user choose to exit - Display a new screen and tell them how many times each turtle won a race and how many times they guessed right

-Make sure you have a information screen for user explaining the Game.

-Make your program screens look nice.

Add any other features you would like, possibilities: (Each point is seperate)(Doesn't really matter for me)

-A menu

-Change the program so you keep track of ties separately and display number of ties that occurred by each turtle. Do not include ties in users guessing total but have them as a separate user total. Display tie information to user.

-Have the user bet money - like at the horse races. Start off with an amount of money and keeps playing until they want to stop or money runs out.

#!/bin/python3

from turtle import *

from random import randint

speed(0)

penup()

goto(-140, 140)

for step in range(15):

write(step, align='center')

right(90)

for num in range(8):

penup()

forward(10)

pendown()

forward(10)

penup()

backward(160)

left(90)

forward(20)

ada = Turtle()

ada.color('red')

ada.shape('turtle')

ada.penup()

ada.goto(-160, 100)

ada.pendown()

for turn in range(10):

ada.right(36)

bob = Turtle()

bob.color('blue')

bob.shape('turtle')

bob.penup()

bob.goto(-160, 70)

bob.pendown()

for turn in range(72):

bob.left(5)

ivy = Turtle()

ivy.shape('turtle')

ivy.color('green')

ivy.penup()

ivy.goto(-160, 40)

ivy.pendown()

for turn in range(60):

ivy.right(6)

jim = Turtle()

jim.shape('turtle')

jim.color('orange')

jim.penup()

jim.goto(-160, 10)

jim.pendown()

for turn in range(30):

jim.left(12)

for turn in range(100):

ada.forward(randint(1, 5))

bob.forward(randint(1, 5))

ivy.forward(randint(1, 5))

jim.forward(randint(1, 5))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!