Skip to main content

Turtle

Tic Tac Toe
·398 words·2 mins
Ever since the movie “Wargames,” it’s clear: an AI doesn’t like to lose. And even a draw can be just as frustrating. Still, a game of Tic Tac Toe can be a lot of fun – here is a version in Python, implemented using Turtle.
Spirograph
·264 words·2 mins
The turtle also works as a spirograph. Using for loops and mixed colors from the RGB spectrum, beautiful patterns and color gradients are created.
Turtle Race
·312 words·2 mins
The turtle wants to race. Our program uses functions (def) and keyboard input (turtle.onkey()).
St. Nicholas' House v2
·508 words·3 mins
With the help of loops (for, while), functions (def) and classes (class), you can really make the turtle work hard.
St. Nicholas' House
·286 words·2 mins
The turtle (from the Tkinter library) allows you to create simple to complex graphics on screen using Python. It is controlled with understandable commands like forward, left, right, etc. Older programmers already know it from Logo (1967), COMAL (1973), etc. - younger programmers know something similar from Scratch (2007) with the so-called “pen”.
Python Turtle Cheat Sheet
·485 words·3 mins
🐢 Here’s a complete Turtle cheat sheet suitable for both beginners and advanced users – regardless of age. It covers everything: from basic functions through colors, shapes and loops to events, coordinates, animations and complex drawings.