TurtleLib
TurtleLib is a library of scripts that interact with the PythonTurtle module to create games, drawings, and more!
Using the Scripts
Copy or download a script to your current working directory. Start python3 and run import <script-name>
. The program should run automatically.
Scripts
Race
This script sets up a simple race layout for two players, one green and the other blue. When the game is set up, the script will prompt you to start the game. Press Enter
on your keyboard to begin.
Cone
cone
creates a nice cone shape using circles. When you import the script, you will be prompted for a size. The recommended range is from 100-250. However, bigger cones will take longer to make. Do not go below 50, as this will result in a very small cone that is hard to see.
All Downloads
Installing PythonTurtle
Debian
$ sudo apt-get install --no-install-recommends python3-wxgtk4.0
# Installed dependency
$ sudo apt-get install --no-install-recommends python3-tk
# Installed Tkinter module
$ sudo apt-get install --no-install-recommends python3-pip
# Installed pip if not installed yet
$ python3 -m pip install --user PythonTurtle
# Installed PythonTurtle