Question: In this assignment, you will use Turtle Graphics and random numbers to simulate a race between two turtles. The race will take place on a

In this assignment, you will use Turtle Graphics and random numbers to simulate a race between two turtles. The race will take place on a football field. The two turtles will start at the same side of the field and race across to the other side. The first turtle to get to the finish line wins the race. Your program will keep track of the number of races won by each turtle and display it on the screen. You will let the user continue racing until they indicate that they no longer wish to play.

The turtles will move randomly across the screen, steadily forward, but up and down as well, since turtles tend to meander. Each turtle will move separately, with the x and y movements controlled by random numbers.

Here is what the game might look like after the first race. Again, its random, so yours will look different and might have a different outcome.

In this assignment, you will use Turtle Graphics and random numbers to

Python Turtle Graphics Python Turtle Graphics

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!