aboutsummaryrefslogtreecommitdiff
path: root/tetris_shape.py
diff options
context:
space:
mode:
Diffstat (limited to 'tetris_shape.py')
-rw-r--r--tetris_shape.py20
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) }