Accel Thinking

AIADEV · PHYSICAL COMPUTING

Color Arcade

A color-reaction arcade machine: the sensor reads a color card, the RGB strip lights the target, and you race the clock for the high score.

PROJECT AT A GLANCE

Course format
8 × 120-minute sessions
Hardware
UNIHIKER M10 + Python kit
Level
L1 · Smart Devices
Prerequisite
Python L1 (Programming Foundations)

WHAT YOU WILL WORK TOWARD

An arcade you built yourself.

What the finished device does — and what you will be able to explain.

SEE

Teach the sensor color

Calibrate the color sensor and build a classifier that survives classroom lighting.

PLAY

A game loop with states

Idle, show, match, score: a state machine plus sound effects and a PIR wake-up.

COMPETE

Scoring and difficulty

Speed-based scoring, rising difficulty, and a persistent high-score table.

PROJECT ROADMAP

Eight 120-minute sessions from kickoff to demo day.

WEEK 1

Unboxing the Kit: Dev Chain and the First Screen

Unbox the M10 kit, set up the toolchain, and light the first screen.

WEEK 2

Painting with Light: the RGB Strip

Drive the RGB strip: colors, patterns, and brightness.

WEEK 3

Teaching the Sensor to See Color

Calibrate the color sensor against real cards and room light.

WEEK 4

The Color Classifier and the Game State Machine

Classify readings into colors and wire them into the game loop.

WEEK 5

Sound Effects and the PIR Wake-Up

Beeps for hits and misses, and a sensor that wakes the game up.

WEEK 6

Scoring, Difficulty, and the High-Score Table

Speed-based scoring, a difficulty ramp, and scores that survive reboots.

WEEK 7

Testing Without Hardware: mock and pytest

Play whole games on desktop against the mock hardware layer.

WEEK 8

Ship It: Auto-Start, User Test, Demo Day

Auto-start on boot, watch a friend play, and demo the final machine.

Every project ships two builds: a starter you open in week 1, and a teacher reference build. The flow — prepare, build, test, checkpoint, present — is the same across all Physical Computing courses.

CONCEPT PREVIEW

What it looks like when it runs.

TARGET
SENSOR
SCORE120TIME0:42BEST260

Mid-game: the target color from the RGB strip vs. what the sensor reads, plus score and clock.

Concept UI for illustration — each student's finished device will look a little different.

THE BUILD

What you ship, and what it runs on.

A coin-free arcade machine with light, sound, and a persistent high-score table.

Board
UNIHIKER M10 + Python kit
Sensors
Color sensor · PIR motion sensor
Actuators & output
RGB strip · buzzer · screen
Extras
Persistent high-score table · difficulty ramp

AI-assisted development, on real hardware.

The workflow is the same as in our software projects — plan with AI, review what it suggests, and test it yourself. Hardware adds one more skill: knowing whether a bug lives in the code, the wiring, or the physical world.

PLAN

Break the build into steps

Use AI to decompose the project, then check the plan against what the board and sensors can actually do.

REVIEW

Read every line AI writes

AI drafts, you review. Pin numbers, timing, and thresholds are your responsibility — the device does what you ship.

TEST

Test off the board, then on it

Desktop mock tests catch logic bugs early; on-device runs catch the rest. You learn to tell the difference.

AI use is disclosed in project work. If an AI service is unavailable or its answer is unsuitable, students continue with course examples, instructor guidance, and their own tests.

PILOT CLASSES FORMING

Try a Physical Computing course.

These courses are new — pilot classes form first. Leave your details and we will invite you to the first available session, or check your Python readiness before you talk to us.