From 3e150ebfbd7df78e1e48bd54dcd75f539f5aadf9 Mon Sep 17 00:00:00 2001 From: shubhamshd Date: Fri, 23 Aug 2019 04:40:25 -0700 Subject: [PATCH] snake color changed --- snake.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snake.html b/snake.html index 529248e..606d591 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 = 'orange; 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