graphical snake game, written in javascript