Play your way through STEM
Every game on this page teaches something real — physics, code, chemistry, engineering. They all run right in your browser, no install, no login.
Jump to a game
Real Python, right in your browser
This is real Python running in your browser - no install, no setup. Edit the code below, hit Run, and see what happens. Your code is capped at 10 lines so it stays a snack, not a meal.
Hit Run to see your code come alive.
How much can a truss hold?
Slide more weight onto the deck and watch the bridge sag. Push too far and it gives. Real engineers design every bridge to stop way before that point.
Trusses share the load.
A truss is a triangle made of straight bars. Triangles can't squish, so the weight gets split among every bar - that's why this little bridge can hold so much.
- Load
- 8 kg
- Limit
- 38 kg
- Headroom
- 79%
Drag blocks. Build it taller.
Real physics, real collisions, real gravity. Grab any block in any direction, pull it out, and stack it on top. The tower will lean, sway, and topple just like a real one — that's the engineering challenge.
Click and drag any block — up, down, sideways. Stack pulled blocks on top to make the tower grow.
Blocks stacked above
Highest reached
0rows
Status
Loading- Drag a block out from a side or wiggle it loose.
- Drop pulled blocks on top to stack them higher.
- Tower fell? Hit Rebuild to start fresh.
Why this works
Every block has weight, friction, and momentum. Pull one out and the load above it has to find a new path to the ground — exactly like real load redistribution in bridges and buildings. Stack carefully and the tower stays balanced; pull too aggressively and gravity wins.
Build an atom, name an element
Add or remove protons, neutrons, and electrons. The number of protons decides which element you have. Try making oxygen (8 protons) - it's the air you breathe.
Element
Hydrogen
Mass: 1 · Charge: 0
Protons
Positive (+). Decides the element.
Neutrons
No charge. Adds weight.
Electrons
Negative (-). Orbit the nucleus.
What kind of STEM kid are you?
There's no wrong answer. Pick the one that sounds the most like you and we'll show you a great place to start.
↓ Tap a card to see your starter project
Program a robot to reach the flag
Stack movement blocks one after another, hit run, and watch the robot follow your instructions step by step.
Your program
0/30
Add blocks below to build your program
What you learn
Computers do exactly what you tell them — in order. Sequencing your steps is the heart of programming.
Build a circuit that turns the lights on
Drop in batteries, wires, switches and bulbs. The bulb glows when current can flow in a loop from + back to −.
Electricity needs a path home
Current flows out of the battery's plus side, through your wires, and back to the minus side. Break that loop anywhere — open switch, missing wire — and everything goes dark.
- Use the Hand tool to flip switches on and off.
- Add a bulb anywhere on the loop to make it glow.
- Tap the battery again to rotate it 90°.
Aim, fire, and hit every target
Slide the angle and power, watch the dotted prediction, and fire. The dashed curve shows where the projectile would land before you launch.
45° goes the farthest
Without air resistance, a projectile fired at 45° travels the longest range. Steeper angles fly higher; shallower angles fly fast and flat.
- Range
- 163.1 m
- Apex
- 40.8 m
- Flight time
- 5.77 s
- Energy
- 1600 J
Build a tiny solar system
Click and drag in the sky to fling a new planet. Every body pulls every other one, just like in real space.
Gravity scales by mass and distance
The pull between two bodies grows with their masses and shrinks fast as they move apart — that's Newton's law of universal gravitation.
- Drag from one spot to another to set start velocity.
- Heavier planets bend the orbits of lighter ones.
- Two bodies that get too close merge into one.
Match the truth table
Each level shows a target output for every input combo. Try gate types until your circuit produces those outputs.
| A | B | Y | ✓ |
|---|---|---|---|
| 0 | 0 | 0 | · |
| 0 | 1 | 0 | · |
| 1 | 0 | 0 | · |
| 1 | 1 | 1 | · |
Stack a tower of liquids
Pour different liquids and they sort themselves by density. Drop objects in to see exactly where each one floats.
Tube fill: 0/9
Why it works
Anything denser than the liquid it's in sinks. A grape sinks in water but floats in honey because honey is much denser.
Which sort wins the race?
Same shuffled bars, four different ways to sort them. Speed up or slow down to see how each algorithm thinks.
Compare neighbors, swap if out of order. Repeat.
Take each card and slot it into the sorted pile.
Find the smallest, put it first. Repeat.
Pick a pivot and split into smaller and bigger halves.
Algorithm fact
Bubble and selection do roughly n² steps. Quicksort averages n·log n — that's why it usually finishes first as the array grows.
Guide the marble to the cup
Drop ramps and pipes onto the grid so the marble — released from the top — rolls all the way to the goal.
Gravity does the work
Every ramp converts a little potential energy into motion. Engineers chain shapes together so balls (or water, or skiers) flow exactly where they want.
- The marble always enters from the side you point the piece at.
- Empty squares let the marble drop straight down.
- Walls and gaps mean you must steer around them.
More games coming soon.
Have an idea for a STEM game we should build? Tell us — we love new ideas.
Share an idea