From 4231e0fa507e1cc183d30bb5a6c1ba76cdfe8529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 20 Jul 2017 15:02:26 +0200 Subject: Small tweaks --- turtetris_master/game.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/turtetris_master/game.py b/turtetris_master/game.py index de7b7e2..7817ff9 100644 --- a/turtetris_master/game.py +++ b/turtetris_master/game.py @@ -26,13 +26,13 @@ SHAPES = [ COLORS = [ 'black', - 'FF5500', - '64C873', - '786CF5', - 'FF8C32', - '327834', - '92CA49', - '96A1DA' + 'FFFF00', + '88FF00', + '00FF88', + '00FFFF', + '0088FF', + '8800FF', + 'FF0088' ] @@ -50,7 +50,7 @@ class Game: if not self.new_stone(): raise Exception('New game but we can\'t place stone') self.step = 0 - self.step_edge = 60 + self.step_edge = 100 self.score = 0 self.__show_score__() matrix.display() @@ -157,7 +157,7 @@ class Game: # Note: mx is already inverted self.matrix.pixel(x, yy, COLORS[self.mx[x][yy]]) # Make ticks faster - self.step_edge *= 0.8 + self.step_edge *= 0.9 self.score += 1 self.__show_score__() else: -- cgit v1.2.3