00MakeCode
Block-coding walkthroughs.
Step-by-step pages for each stat. Read the intro first, then pick the stat you're testing. Each walkthrough mirrors the bot test for that stat: variables on top, formula in the middle, button A and button B at the bottom.
CROSSTOWN Starter Files — day-by-day reading order
Skills Arena
Program SKILLS ARENA → Code challenges for Open Lab and if there is extra time during match days.
Speed test
Program SPEED → motor power and run two timed drives. motorPower = SPEED × 100 ÷ 20 in block form.
Endurance test
Program decay over time using your Endurance allocation. P(t) = 100 − (20 − E) × 1.5 × t in block form.
Enter SPEED, ENDURANCE, and 2000 for TEST_DURATION_MS
Turning test
Program arc navigation using your Turning allocation. arcSegments = T, turnRatio = 0.2 + (T × 0.02).
Launch Sequence
Program your bot's opening move — line up bot → ball → goal before the match starts.
Power test
Program the kick using your Power allocation. charge = P², followThrough = 120 + (P × 35). Quadratic, not proportional.
Match code template
The full match-day program. Combines all four stat formulas into one bot ready to play. Use this on match days starting Day 5.
Read first
Intro to MakeCode
The block-coding workspace, what each colored category does (Basic, Input, Variables, Math, Cutebot Pro), and how to download a program to your micro:bit.
Motor & encoder limits
Closed-loop vs open-loop drive on the Cutebot Pro. Why cruise control holds a steady distance and raw motor power doesn't.