diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-07-19 14:58:24 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-07-19 15:05:43 +0200 |
commit | 89e09de5e12744f9435b6f31fa2e9f7116fc6347 (patch) | |
tree | 46c91fa193478a3b935110caeabd50ea42a9dd26 /turtetris_master/game.py | |
parent | b934596cfd5415ce83b5a7b42120e0f0e229937a (diff) | |
download | turris-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.py | 10 |
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 |