From c0e734f29ea2c882a84f106df48fd5b99a775981 Mon Sep 17 00:00:00 2001 From: Name Date: Fri, 23 Aug 2019 17:03:16 +0530 Subject: [PATCH] changed --- snake.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snake.html b/snake.html index 529248e..1d34f85 100644 --- a/snake.html +++ b/snake.html @@ -98,7 +98,7 @@ context.fillRect(apple.x, apple.y, grid-1, grid-1); // draw snake one cell at a time - context.fillStyle = 'white'; + context.fillStyle = 'green'; snake.cells.forEach(function(cell, index) { // drawing 1 px smaller than the grid creates a grid effect in the snake body so you can see how long it is