From 08b447cdc672a413dad8dc9e346fd475f547b666 Mon Sep 17 00:00:00 2001 From: Amutha Kannan Date: Thu, 14 Nov 2019 13:47:47 -0800 Subject: [PATCH 1/2] Changed Apple color to pink --- snake.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snake.html b/snake.html index 7e7aa1a..9550f51 100644 --- a/snake.html +++ b/snake.html @@ -94,11 +94,11 @@ } // draw apple - context.fillStyle = 'blue'; + context.fillStyle = 'pink'; context.fillRect(apple.x, apple.y, grid-1, grid-1); // draw snake one cell at a time - context.fillStyle = 'pink'; + context.fillStyle = 'purple'; 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 From f603536d8d411f9f01c25d58e65d6567e9b8eeb6 Mon Sep 17 00:00:00 2001 From: Amutha125 <57693159+Amutha125@users.noreply.github.com> Date: Thu, 14 Nov 2019 13:59:05 -0800 Subject: [PATCH 2/2] Updated Snake.html --- snake.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snake.html b/snake.html index 9550f51..75f5020 100644 --- a/snake.html +++ b/snake.html @@ -94,11 +94,11 @@ } // draw apple - context.fillStyle = 'pink'; + context.fillStyle = 'yellow'; context.fillRect(apple.x, apple.y, grid-1, grid-1); // draw snake one cell at a time - context.fillStyle = 'purple'; + context.fillStyle = 'pink'; 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