it get longer yellow line of yellow square need to avoid Until now the browser will not display anything since the canvas has no default background. basic design and colors. When snake crosses itself, the game will over. Javascript Code Section For Snake Game. x:Math.floor(Math.random()*17+1)*box, (head.x==array[i].x&&head.y==array[i].y){. We will use the