Racket has a notion of a 'box', which is a single-element vector for when you want a mutable store of something: https://docs.racket-lang.org/reference/boxes.html
Interesting, I've rarely seen this in other language as a first class concept (I can only think of ML).
miniblog.
Related Posts
A snake game implemented entirely in the browser element inspection interface! https://matthewrayfield.com/goodies/inspect-this-snake/
A wonderful example of creative computing.