aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-09-12 14:32:12 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-09-12 14:32:12 +0200
commit579b856757964efe4fa65b196019ebd1c1737160 (patch)
tree87b31b1f00b1c1966612bfd999deee8eaadb75cb
parentca31e8da2442bb13327f4e9e1fe526d5dca07893 (diff)
downloadturris-tetris-579b856757964efe4fa65b196019ebd1c1737160.tar.gz
turris-tetris-579b856757964efe4fa65b196019ebd1c1737160.tar.bz2
turris-tetris-579b856757964efe4fa65b196019ebd1c1737160.zip
Don't light up score backgroundv1.2
-rw-r--r--turtetris_master/game.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/turtetris_master/game.py b/turtetris_master/game.py
index 92c5fa5..d9e581b 100644
--- a/turtetris_master/game.py
+++ b/turtetris_master/game.py
@@ -129,11 +129,11 @@ class Game:
if ii < i:
self.matrix.pixel(self.matrix.width - 1, ii, 'green')
else:
- self.matrix.pixel(self.matrix.width - 1, ii, COLORS[0])
+ self.matrix.pixel(self.matrix.width - 1, ii, 'black')
if ii < y:
self.matrix.pixel(self.matrix.width - 2, ii, 'green')
else:
- self.matrix.pixel(self.matrix.width - 2, ii, COLORS[0])
+ self.matrix.pixel(self.matrix.width - 2, ii, 'black')
def __place__(self):
"Stone can't move so place it, check lines and generate new one"