aboutsummaryrefslogtreecommitdiff
path: root/turtetris_master
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-07-20 15:02:26 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-07-20 15:02:26 +0200
commit4231e0fa507e1cc183d30bb5a6c1ba76cdfe8529 (patch)
treeb26f71051d1ad7c8ab217943aab2d9646f17b70b /turtetris_master
parent5be0a1df47bcd469bd8143caf1975e9bf920aa1e (diff)
downloadturris-tetris-4231e0fa507e1cc183d30bb5a6c1ba76cdfe8529.tar.gz
turris-tetris-4231e0fa507e1cc183d30bb5a6c1ba76cdfe8529.tar.bz2
turris-tetris-4231e0fa507e1cc183d30bb5a6c1ba76cdfe8529.zip
Small tweaks
Diffstat (limited to 'turtetris_master')
-rw-r--r--turtetris_master/game.py18
1 files 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: