From 4abc5fc9afea880d620b61380871d400e4a4a585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20K=C3=A1n=C4=9B?= Date: Fri, 18 Dec 2020 19:39:11 +0100 Subject: [PATCH] Display the head if it is on the same tile with a fruit --- snake.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snake.html b/snake.html index 5abc304..6523d1c 100644 --- a/snake.html +++ b/snake.html @@ -27,13 +27,13 @@ background-color: green; } - .tile.head { - background-color: red; - } - .tile.fruit { background-color: gold; } + + .tile.head { + background-color: red; + }