Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/constants.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-03-22 07:40:51 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-03-22 07:40:51 (GMT)
commitfc5a031aee34dff95f15a737c2f74245932c74a2 (patch)
tree4f905af0ae76bd3d13ac6431c923e668e645bcc5 /constants.py
parent2399ba12bc3276675f2c894421713571dcf1e521 (diff)
using common constants file
Diffstat (limited to 'constants.py')
-rw-r--r--constants.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/constants.py b/constants.py
new file mode 100644
index 0000000..88f313e
--- /dev/null
+++ b/constants.py
@@ -0,0 +1,28 @@
+#Copyright (c) 2011 Walter Bender
+
+# This program 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.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the
+# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
+
+NORTH = 0
+EAST = NORTH + 1
+SOUTH = EAST + 1
+WEST = SOUTH + 1
+
+ROW = 8
+COL = 8
+
+HIDE = 0
+BOARD = 1
+GRID = 2
+CARDS = 3
+OVERLAY = 4
+
+CARD_WIDTH = 55
+CARD_HEIGHT = 55