aboutsummaryrefslogtreecommitdiff
path: root/turtetris_master/state_machine.py
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-07-19 19:56:09 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-07-19 20:57:52 +0200
commitebe88b130fa830b572f83a7fb7ac190a37f70c7c (patch)
tree25e79c5e20c021041a459c4eda6f237ffe8e1469 /turtetris_master/state_machine.py
parent196b6c24a52bb4fc4bb1cb03f2aa6b314e46bf7c (diff)
downloadturris-tetris-ebe88b130fa830b572f83a7fb7ac190a37f70c7c.tar.gz
turris-tetris-ebe88b130fa830b572f83a7fb7ac190a37f70c7c.tar.bz2
turris-tetris-ebe88b130fa830b572f83a7fb7ac190a37f70c7c.zip
Implement game
Diffstat (limited to 'turtetris_master/state_machine.py')
-rw-r--r--turtetris_master/state_machine.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/turtetris_master/state_machine.py b/turtetris_master/state_machine.py
index cef03e4..182ce7b 100644
--- a/turtetris_master/state_machine.py
+++ b/turtetris_master/state_machine.py
@@ -30,6 +30,8 @@ class StateMachine:
elif state == "game-over":
if self.state != "game":
__exception__()
+ self.matrix.fill('red')
+ self.matrix.display()
else:
__exception__()
self.state = state