aboutsummaryrefslogtreecommitdiff
path: root/turtetris_master/game.py
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2017-07-19 14:58:24 +0200
committerKarel Kočí <karel.koci@nic.cz>2017-07-19 15:05:43 +0200
commit89e09de5e12744f9435b6f31fa2e9f7116fc6347 (patch)
tree46c91fa193478a3b935110caeabd50ea42a9dd26 /turtetris_master/game.py
parentb934596cfd5415ce83b5a7b42120e0f0e229937a (diff)
downloadturris-tetris-89e09de5e12744f9435b6f31fa2e9f7116fc6347.tar.gz
turris-tetris-89e09de5e12744f9435b6f31fa2e9f7116fc6347.tar.bz2
turris-tetris-89e09de5e12744f9435b6f31fa2e9f7116fc6347.zip
Add statemachine and empty game class
Diffstat (limited to 'turtetris_master/game.py')
-rw-r--r--turtetris_master/game.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/turtetris_master/game.py b/turtetris_master/game.py
new file mode 100644
index 0000000..9b0c7cf
--- /dev/null
+++ b/turtetris_master/game.py
@@ -0,0 +1,10 @@
+class Game:
+ "game it self"
+
+ def __init__(self, matrix):
+ self.matrix = matrix
+ pass
+
+ def tick(self, input):
+ "Do game tick"
+ return True