All paths

Build carnival games

Touch targets, light gates and an eight-digit display: whack-a-target, ring toss, skee-ball, high scores and a booth that pays out tickets.

Arduino Uno R3Free6 lessons5 h3 chapters1,430 XPMaker · Beginner+100 XP

0 of 6 done

Start the course freeWhack targetsBuild it as a kitRetails for about $34, free on Mokxi.Lesson plan for teachers
What you will build

3 projects, built step by step

6 lessons in 3 chapters, about 5 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

Ring toss sensors

Put a light gate at the foot of each peg, count a ring only when the beam stays cut, catch the ones that bounce off, and score a turn.

Open it in the simulator
Chapter 2 project

Scores

Keep a high score that survives the power going off: EEPROM read at power-up, written only when beaten, and shown as H1 on the display.

Open it in the simulator
Chapter 3 project

Project: a game booth

Run the whole booth: attract mode, a 30 second clock, tickets and a high score in EEPROM, then make it your own and build it for real.

Open it in the simulator
The map

Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

Targets and sensors

Touch targets and light gates: whack-a-target and a fair ring toss.

  1. Open190 XP

    Whack targets

    Read three touch targets, learn how a touch sensor feels a finger, and build a whack-a-target round with hits, misses and a time limit.

    0 of 6 steps

  2. ProjectLocked330 XP

    Ring toss sensors

    Put a light gate at the foot of each peg, count a ring only when the beam stays cut, catch the ones that bounce off, and score a turn.

    0 of 5 steps

4 questions, graded as you go.
Chapter 2

Lanes and scores

Skee-ball lanes, a scoreboard and a high score that survives the night.

  1. Locked165 XP

    Skee-ball lanes

    A light gate under each hole worth 10, 30 and 50: catch every fast ball on its edge, show balls and score on a MAX7219, nine balls a game.

    0 of 5 steps

  2. ProjectLocked280 XP

    Scores

    Keep a high score that survives the power going off: EEPROM read at power-up, written only when beaten, and shown as H1 on the display.

    0 of 4 steps

4 questions, graded as you go.
Chapter 3

Run the booth

Tickets, a jackpot, a game clock and attract mode: a booth that runs itself.

  1. Locked165 XP

    Tickets

    Turn a score into tickets with a table and a jackpot, then count them out one chirp at a time like a real ticket machine.

    0 of 5 steps

  2. ProjectLocked300 XP

    Project: a game booth

    Run the whole booth: attract mode, a 30 second clock, tickets and a high score in EEPROM, then make it your own and build it for real.

    0 of 5 steps

4 questions, graded as you go.
Syllabus

Every lesson in the course

All 6 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

Targets and sensors

  1. Whack targetsRead three touch targets, learn how a touch sensor feels a finger, and build a whack-a-target round with hits, misses and a time limit.
  2. Ring toss sensorsPut a light gate at the foot of each peg, count a ring only when the beam stays cut, catch the ones that bounce off, and score a turn.
Chapter 2

Lanes and scores

  1. Skee-ball lanesA light gate under each hole worth 10, 30 and 50: catch every fast ball on its edge, show balls and score on a MAX7219, nine balls a game.
  2. ScoresKeep a high score that survives the power going off: EEPROM read at power-up, written only when beaten, and shown as H1 on the display.
Chapter 3

Run the booth

  1. TicketsTurn a score into tickets with a table and a jackpot, then count them out one chirp at a time like a real ticket machine.
  2. Project: a game boothRun the whole booth: attract mode, a 30 second clock, tickets and a high score in EEPROM, then make it your own and build it for real.
Keep going

The next course on your track

Build carnival games is part of the maker track, a ladder of courses from zero to expert.

Next course

Build game show buzzers

Four lit arcade buttons, a host and a buzzer: judge who pressed first, lock out cheats, keep score and run a real quiz night.

Open the next course
Track

Maker track

Follow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.

See every course on the track
Kits

Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

The kit for this course

Carnival Games Kit

An Uno, a photo interrupter (slot), a touch sensor (TTP223) and an eight-digit display (MAX7219): carnival games that score and pay out tickets.

Open the kit
Have a kit already?

Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.

See every kit
Questions

About Build carnival games

Is Build carnival games free?

Yes. All 6 lessons of Build carnival games are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Build carnival games take?

About 5 hours: 6 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: Ring toss sensors, Scores and Project: a game booth.

Where do I start?

With "Whack targets", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.