Just for Fun
Depending on which one you're looking at, there's maybe/probably/definitely some math involved here...but you might have to look a little bit harder to find it.
(Totally just for fun) You might remember Snake from your first cell phone or an MS-DOS era PC. Well, this is the very simple GeoGebra version I made when experimenting with keyboard controls. You can use either the arrows on the keyboard the screen to control the snake.