Keeping Score: var, set, and Mutable State
In this lesson you'll learn to
- Student can declare `var Count:int = 0`, mutate it with `set`, and explain why plain values are immutable in Verse.
Student can declare var Count:int = 0, mutate it with set, and explain why plain values are immutable in Verse.
🧩 Your capstone piece: The per-round shell counter variable the whole game reads and writes
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.
Sources
/guides/mutable-var-set-v6© Biloxi Studios Inc. — original Verse Island content.
Turn this into a guided course
Add Keeping Score: var, set, and Mutable State 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 🦩 South Shores (Free) expedition.