You need to enable JavaScript to run this app.
Use
←
/
→
keys and
home
/
end
to seek.
Use
↑
/
↓
keys to control speed
.
Use
space
to
play/pause
.
Green
= snake
Red
= apple/goal
Blue
= shortest path to goal
Yellow
= would become unreachable
Grey
= Hamiltonian cycle
= grid cells
See
https://github.com/twanvl/snake/