old school snake game
in JavaScript