A snake game written in Javascript