diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-07-19 19:56:09 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-07-19 20:57:52 +0200 |
commit | ebe88b130fa830b572f83a7fb7ac190a37f70c7c (patch) | |
tree | 25e79c5e20c021041a459c4eda6f237ffe8e1469 /turtetris_master/state_machine.py | |
parent | 196b6c24a52bb4fc4bb1cb03f2aa6b314e46bf7c (diff) | |
download | turris-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.py | 2 |
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 |