Prompt
Code in html, css, and javascript a self-contained, complete, and embeddable classic Snake game using the following description: The classic Snake game rules involve controlling a continuously moving line (the snake) on a grid, eating food to grow longer and increase your score, while the primary objective is to avoid hitting the boundaries (walls) or your own growing body, which results in a game over. Players use directional inputs (WASD) to steer the snake, preventing it from turning back on itself, as the challenge increases with the snake's length. Each time the snake "eats" a food item, add one block to the snake's length. Keep the speed relatively slow at first, increasing as the snake grows. Make the snake's food apples, but use a navy blue, white, black, and gray theme.
Iteration
Increase the size of the grid to 30 by 30.