Build a Snake Game in SwiftUI Using GeometryReader

See how to leverage Preferences protocol

Mark Lucking
Better Programming
Published in
5 min readFeb 9, 2022

--

Photo by Riho Kroll on Unsplash

Although I am reasonably sure Confucius, who was around in 450BC, wasn’t a programmer, some advice he had about learning things couldn’t have been more true when it comes to coding.

Tell Me and I Will Forget;
Show Me and I May Remember;
Involve Me and I Will Understand.

--

--

Coding for 35+ years, enjoying using and learning Swift/iOS development. Writer @ Better Programming, @The StartUp, @Mac O’Clock, Level Up Coding & More