The direction that the snake is facing The (x, y) location of the snake head in the form of an object with the keys "row" and "col" The body of the snake in the form of an array holding copies of ...
On first load sometimes the game frame will not load correctly and you'll need to press the refresh icon above its display panel to get the game to show. The index.html file should give an idea of how ...