From 9a70dd0878c9f23725c2a54c3945c42a6c144b95 Mon Sep 17 00:00:00 2001 From: Imarticus Date: Mon, 19 Aug 2019 17:45:07 +0530 Subject: [PATCH] change 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