var for Mutable State
When and how to allow reassignment.
When Values Change
Some values truly need to move: a counter, a running total, a current score. For those, Zig gives you the var keyword.
Meet var
The keyword var creates a mutable binding. Unlike const, the name you declare with var can be reassigned again and again.
var score = 0;