Try it at http://simonwoolf.net/elm-snake/ :)
Nothing that hasn't been done before, just written to help teach myself Elm.
NB: to recompile, you'll need to apply a couple of fixes to elm-graphics: evancz/elm-graphics#21 and evancz/elm-graphics#20
GPLv2+
- allow js input through ports