Coding Games for Grades 3-6
Starship Arcade has 15 free games that practise the thinking under coding: reading a program and predicting what it does, loops, algorithms, binary numbers, logic gates and if-then rules. Students do not write code here; they trace it, test it and reason about it, which is the part a block-coding hour often skips. Every game runs in a desktop browser with a keyboard, with no account and nothing to install, so a class can start in the time it takes to open a link. Computer Science Education Week is December 7 to 13, 2026; the plan below fills one class hour.
Start with Code CadetThe games, by computer science idea
Reading code and loops
Read a short program line by line and say what it will do before it runs.
Algorithms: the right steps in the right order
Plan a sequence of moves, find the shortest one, and spot the rule behind it.
- towers of hanoi · grades 3-6Tower TransferStudents solve Towers of Hanoi puzzles, moving rings one at a time onto a target pylon with the keyboard in this grade 3-6 logic game.
- shortest path logic · grades 3-6Maze MinderStudents plan the shortest route through a maze before moving, then steer a droid with the arrow keys while managing a limited fuel budget.
- one-stroke paths · grades 3-6Knot NavigatorStudents apply the rule for one-stroke paths, counting lanes at each beacon to fly every lane exactly once, choosing beacons with the keyboard.
- sequencing steps in order · grades 3-6Sequence StarStudents watch a process (the water cycle, long division, the planets) play out in order, then capture each step at the right moment with the space bar.
Binary: how a computer stores a number
Every number a computer keeps is a row of switches, on or off.
Logic gates and true or false
AND, OR and NOT are the decisions inside every chip.
- logic gates and or not · grades 3-6Gate GauntletStudents steer a signal into the one logic gate (AND, OR, NOT, and more) that produces the correct output, using arrow keys or keys 1 through 3.
- AND, OR, and NOT logic gates · grades 3-6Circuit SolverCircuit Solver has students set switches to match AND, OR, and NOT gates before powering a board, practicing logic gates with a keyboard.
- AND, OR, and NOT truth tables · grades 3-6Truth TablesTruth Tables has students decide if a number or shape makes a rule true or false and match the row, practicing compound statements with a keyboard.
If-then rules (conditionals)
An if-then rule is the first thing a new programmer writes, and the first thing they get backwards.
- if-then logic rules · grades 3-6If Then IonIf Then Ion has students judge a claim as true, false, or can't tell against a rule and fact, practicing if-then reasoning with a keyboard.
- syllogisms reasoning · grades 3-6Premise ProbeStudents judge whether two clues prove a claim true, false, or unprovable, choosing YES, NO, or CAN'T TELL with keys 1 through 3.
Functions and debugging
Find the rule a machine follows, and work backwards to the step that went wrong.
- input output rules · grades 3-6Rule RunnerStudents find the hidden math rule that turns each input into its output, then pick it from rule chips with keys 1 through 4 on a keyboard.
- working backwards · grades 3-6Loop LogicStudents work backward through a loop of plus, minus, times, and divide links to find the missing one, choosing with the keyboard.
- logic grid puzzles · grades 3-6Deduce DockDeduce Dock has students mark a logic grid to work out which ship carries which cargo from a set of clues, practicing logic grids with a keyboard.
Typing the symbols code uses
Brackets, slashes and at-signs live on the shifted keys.
A one-hour plan for CS Education Week
10 minutes: one program on the projector
Open Code Cadet on the big screen. Read the program aloud, let the class predict where the rover stops, then one student enters the answer. A line that says REPEAT 3 TIMES runs the lines inside it three times; ask the class to trace it out loud before anyone types.
30 minutes: three stations, in pairs
Binary Bay, Gate Gauntlet and Tower Transfer, ten minutes each. One student drives, one checks the thinking, and they swap every round. Fewer computers than pairs? Run the stations one after another on the projector instead.
10 minutes: talk it through
Use the questions below. Each one has its answer, so the debrief works even if you are new to computer science.
Early finishers
If Then Ion and Deduce Dock: reasoning puzzles with no fixed end, so a fast pair always has something to do.
Questions to ask after, with answers
- Binary Bay has four switches worth 8, 4, 2 and 1. What is the biggest number they can make, and how is it written in binary?
Answer
15 (8 + 4 + 2 + 1), written 1111: every switch on. - How is 10 written with the same four switches?
Answer
1010: the 8 and the 2 are on (8 + 2 = 10), the 4 and the 1 are off. - An AND gate gets one input that is on and one that is off. Is its output on or off? What about an OR gate?
Answer
AND is off: it needs both inputs on. OR is on: one input on is enough. - What is the fewest number of moves for 3 rings in Tower Transfer? For 4 rings?
Answer
7 moves for 3 rings and 15 for 4. Each extra ring doubles the moves and adds one: 2 multiplied by itself once per ring, minus 1. - A loop says REPEAT 3 TIMES and the line inside moves the rover forward 2 squares. How far does it go? Why would a programmer write a loop instead of the same line three times?
Answer
6 squares. A loop is shorter, and if the number of steps changes you fix it in one place instead of three.
Teachers and homeschool: games by grade, class lists · Indoor recess plan · What is Starship Arcade? · Put a game on your class website
Questions teachers ask
- Are these coding games free?
- Yes. Every game on Starship Arcade is free to play, with no account, no card and nothing to install.
- Do students write code?
- No. These games practise the thinking under coding: reading and tracing a program, loops, putting steps in order, binary numbers, logic gates and if-then rules. They work well as a warm-up or a second station next to a block-coding activity.
- Is this an official Hour of Code or CS Education Week activity?
- No. Starship Arcade is an independent site and is not affiliated with Code.org, Hour of Code or CSEdWeek. The games can fill an hour of computer science on their own or sit next to any other activity you use that week.
- When is Computer Science Education Week?
- Every December, in the week of December 9 (Grace Hopper's birthday). In 2026 it runs December 7 to 13.
- What grades are they for?
- Grades 3 to 6, roughly ages 8 to 12. Every game has a Teacher Setup screen to make it easier or harder.
- What do we need?
- A desktop or laptop computer with a keyboard and an up-to-date browser. For the projector version, one computer connected to a projector.
- Does it collect anything from students?
- No sign-in, no student accounts and no ad trackers. The privacy page has the details. Privacy.
- Who makes it?
- Starship Arcade is a small independent studio in Ontario, Canada. The games are built with AI and tested before they ship.