Snake game implementation in html canvas.