From a7654b83003e19188378502b2140bcee720b4dba Mon Sep 17 00:00:00 2001 From: Pranjal-sopho Date: Mon, 19 Aug 2019 17:49:15 +0530 Subject: [PATCH] chaned snake color --- snake.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snake.html b/snake.html index 512dc99..529248e 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 = 'red'; + context.fillStyle = 'white'; 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