diff options
author | Benjamin Barenblat <bbaren@mit.edu> | 2011-09-02 13:34:25 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@mit.edu> | 2011-09-02 13:34:25 -0400 |
commit | 00681fa72d071c2fe6a50db45544180a489d22be (patch) | |
tree | 87d472f0e72787bd88dae9c018163b845abce2de /tetris_shape.py | |
parent | 978c20192988141bbd517c693b59e13ae33edb90 (diff) |
Diffstat (limited to 'tetris_shape.py')
-rw-r--r-- | tetris_shape.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tetris_shape.py b/tetris_shape.py index 040cfb2..92dd8d4 100644 --- a/tetris_shape.py +++ b/tetris_shape.py @@ -1,3 +1,23 @@ +# tetris_shape.py +# Copyright (C) 2010, 2011 Simon Peverett <http://code.google.com/u/@WRVXSlVXBxNGWwl1/> +# Copyright (C) 2011 Leah Alpert <lalpert@mit.edu> +# +# This file is part of Burton-Conner Tetris Battle. +# +# Burton-Conner Tetris Battle is free software: you can redistribute it +# and/or modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# Burton-Conner Tetris Battle is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Burton-Conner Tetris Battle. If not, see +# <http://www.gnu.org/licenses/>. + LEFT = "left" (LEFT, RIGHT, UP, DOWN) = range(4) direction_d = { LEFT: (-1, 0), RIGHT: (1, 0), DOWN: (0, 1) } |