Back to homeGames & playgrounds

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.

14 interactive games
Try it yourself

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.

Code editor
3 / 10 lines
Try a snippet
OutputIdle

Hit Run to see your code come alive.

Sandboxed - no internet, no files, just code.
Engineering lab

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.

8kgLoad
038 kg · danger zone50
Stable
Did you know

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%
Engineering lab

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.

Warming up the physics engine…

Click and drag any block — up, down, sideways. Stack pulled blocks on top to make the tower grow.

Blocks stacked above

0blocks

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.

Chemistry bench

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.

e+
H

Element

Hydrogen

Mass: 1 · Charge: 0

Protons

Positive (+). Decides the element.

1

Neutrons

No charge. Adds weight.

0

Electrons

Negative (-). Orbit the nucleus.

1
Looks stable
Find your spark

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

Computer Science

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.

Electricity

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 −.

Closed loop1/1 lit
Did you know

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°.
Projectile motion

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°
Hits: 0/3Shots: 0
Physics minute

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
Astronomy

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.

Stargazer fact

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.

Bodies
3
Status
Running
  • 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.
Boolean logic

Match the truth table

Each level shows a target output for every input combo. Try gate types until your circuit produces those outputs.

Both must be 1
Inputs
G1A, B0,0
Out: ?
OutputsY = ?Pick a gate for every slot
Target truth table
ABY
000·
010·
100·
111·
Chemistry

Stack a tower of liquids

Pour different liquids and they sort themselves by density. Drop objects in to see exactly where each one floats.

Pour something to start

Tube fill: 0/9

Pour liquids
Drop objects

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.

Algorithms

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.

Speed60/s
Bubble sort
00

Compare neighbors, swap if out of order. Repeat.

Insertion sort
00

Take each card and slot it into the sorted pile.

Selection sort
00

Find the smallest, put it first. Repeat.

Quicksort
00

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.

Engineering

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.

Engineering fact

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