Detective
A murder mystery aboard the spaceship ISS Lincoln. Choose your detective name, question two suspects, then name the culprit. The suspects and rooms are shuffled every time you play.
Uses random shuffling · lists · typed answers · if / else
Teen Python Coding · Fall 2026
Attendees spent the program learning Python, the same language used at NASA and in video games. Here's what they built. Press Play to try any program!
A murder mystery aboard the spaceship ISS Lincoln. Choose your detective name, question two suspects, then name the culprit. The suspects and rooms are shuffled every time you play.
Uses random shuffling · lists · typed answers · if / else
The computer picks a secret number from 1 to 100. Guess it, and it tells you higher or lower, then cheers you on based on how many tries it took.
Uses random numbers · loops · counting tries · if / elif / else
You wake up lost in a forest with 5 points to spend. The opening scene of a survival game, typed out letter by letter like an old computer.
Uses a typewriter effect · functions · variables
A game of chance based on the video game Buckshot Roulette. The shotgun is loaded with a random mix of live and blank shells, and luck decides the rest. A work in progress.
Uses random numbers · lists · planning a bigger game
Download a program, then open the .py file in Thonny (opens in a new tab), a free Python editor made for beginners. Or start fresh at python.org (opens in a new tab).