Enums & Race Phases: State Machine Intro

In this lesson you'll learn to

  • Model Lobby→Countdown→Racing→Finished as an enum and switch behavior per phase.

Model Lobby→Countdown→Racing→Finished as an enum and switch behavior per phase.

🔁 Builds on: south-shores enum-with-data-pattern reference (anchor-beach)

🧩 Your capstone piece: race_phase enum driving the whole game loop

Keep going — free

You've read the intro. The rest of this lesson — the worked example, the hands-on exercise, the quiz, and the recap — is free for members. Sign in to continue and track your progress.

New here? The whole Verse Basics track is free with a free account — sign in to start.

Pass the quiz above to chart this quest in your Journal.
Source
Verse Island

© Biloxi Studios Inc. — original Verse Island content.

Sources & licensing

Turn this into a guided course

Add Enums & Race Phases: State Machine Intro to your free study plan — we'll suggest related pages and stitch the lot into one compile-checked, self-guided lesson with worked examples and quizzes.

🧭 The Keeper's log

Quest complete? Chart your next heading from the 🐻 North Jungle expedition.