This program simulates a race between two turtles using the ColabTurtlePlus library. Each turtle moves randomly within a circle until one of them reaches the boundary and wins the race.
- ColabTurtlePlus library
- Python 3.x
-
Would recommend using google colab for running the code
-
Install the ColabTurtlePlus library if you haven't already:
!pip install ColabTurtlePlus
-
Open Google Colab by visiting https://colab.research.google.com/.
-
Create a new notebook by clicking on the "+ New Notebook" button.
-
In the first cell of the notebook, paste the code above to install the ColabTurtlePlus library
-
Run the cell by clicking on the "Play" button or pressing Shift+Enter.
-
In the next cell, paste the turtle race code provided