Snake game in Purescript