Skip to main content

Games

Tic Tac Toe

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.
Turtle Race

Turtle Race

·312 words·2 mins
The turtle wants to race. Our program uses functions (def) and keyboard input (turtle.onkey()).
Schimpfolino

Schimpfolino

·912 words·5 mins
The “Schimpfolino” doesn’t just provide laughter. It also demonstrates working with lists (variables) and their random concatenation (using f-strings).
Number Guessing Game

Number Guessing Game

·192 words·1 min
Basically one of the classics, whether it’s a programmable calculator, 8-bit home computer, or as shown here with Python; you have to implement this on every platform at least once. Perfect for first attempts with conditionals (if-statements).
Harry Potter Quiz

Harry Potter Quiz

·667 words·4 mins
With the “Harry Potter Quiz” you not only test your knowledge about the legendary wizard, you also become proficient in handling Python tuples (arrays). Even when they are multidimensional.
Calculate Birthday

Calculate Birthday

·154 words·1 min
Everyone wants to learn more about their birthday. With simple calculation and transformation, this is child’s play in Python.