Skip to content

resole79/turtle_race

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Turtle Race

Randomly simulated turtle race.

The turtles race across the screen, with the first one to reach the right side being declared the winner.

It's a part of the #100DaysOfCode challenge by Angela Yu.

Prerequisites

You will need the following software to run the Turtle Race:

Installation

To get started with the Turtle Race, follow these steps:

  1. Clone the repository:
git clone https://github.com/resole79/turtle_race.git
  1. Run the main.py file:
python main.py

File Structure

  • main.py: Main program.

Usage

Ask the user to input:

  • Which turtle will win the race

  • Color of turtle

color = ["red", "orange", "yellow", "green", "blue", "purple"]      

Turtle Race Turtle Race

Credit

Author : Emilio Reforgiato (resole79)

About

A randomly simulated Turtle Race.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages