Back to projects

Turtle Race

A colorful Turtle Graphics race where the player predicts which randomized racer will reach the finish line first.

Turtle Graphics
Prompting turtle's name
Prompting turtle's name

The experiment

Turtle Race is a compact probability game built with Python's Turtle module. The player chooses a racer, then several colored turtles advance by randomized distances until one reaches the finish line.

What it explores

  • Creating and positioning graphical objects programmatically
  • Collecting input through a desktop dialog
  • Randomized movement and simple race-state management
  • Coordinating multiple animated objects in a loop

It is intentionally small: a playful exercise in translating a simple game idea into an interactive graphical program.