diff gamelib/constants.py @ 312:dd1ffee5ccf5

Use different score tables fot the different modes. Refactor game modes code as a result
author Neil Muller <drnlmuller@gmail.com>
date Sat, 05 Sep 2009 18:30:51 +0000
parents b9782f622006
children 978efd39a099
line wrap: on
line diff
--- a/gamelib/constants.py	Sat Sep 05 18:08:17 2009 +0000
+++ b/gamelib/constants.py	Sat Sep 05 18:30:51 2009 +0000
@@ -45,4 +45,11 @@
 TOOL_SELL_EQUIPMENT = 7
 
 NIGHT_LENGTH = 150
-TURN_LIMIT = 14
+
+TURN_LIMITS = {
+        'Two weeks' : 14,
+        'Three months' : 90,
+        'Unlimited' : 0,
+        }
+
+TURN_LIMIT = TURN_LIMITS['Two weeks']