Skip to content

A fun Python mini-game using the turtle graphics library where players bet on a turtle’s color and watch them race to the finish line. 🎮🐢

License

Notifications You must be signed in to change notification settings

dharsan19/turtle-race-game-using-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐢 Turtle Race Game

A fun Python mini-game built using the turtle graphics library.
Bet on a turtle, watch them race, and see if your guess was right! 🎉


🎮 How to Play

  1. Run the game.
  2. Enter the color of the turtle you want to bet on.
    Options: red, blue, green, orange, purple, cyan
  3. The turtles will start racing across the screen.
  4. If your turtle wins, you win the bet! 🏆

🚀 Getting Started

Prerequisites

  • Python 3.13.7 installed
  • turtle library (comes with Python by default)
  • random library (comes with Python by default)

Run the game

python turtle_race.py

🎥 Demo

Turtle Race Demo

About

A fun Python mini-game using the turtle graphics library where players bet on a turtle’s color and watch them race to the finish line. 🎮🐢

Topics

Resources

License

Stars

Watchers

Forks

Languages