We have standards
authorStefano Rivera <stefano@rivera.za.net>
Sat, 17 May 2014 19:17:51 +0000 (21:17 +0200)
committerStefano Rivera <stefano@rivera.za.net>
Sat, 17 May 2014 19:18:04 +0000 (21:18 +0200)
naja/gameboard.py

index 7d9dfafe1c44b30b160da7d1ba276858ebfa5504..52d1323bd176a5cd3ca7205086b7fe44455f450f 100644 (file)
@@ -56,6 +56,8 @@ class GameBoard(object):
         if wins_required is None:
             wins_required = defaults['wins_required']
 
+        assert wins_required + max_health == 8
+
         # Overriden by command line
         if options.initial_bits:
             initial_bits = options.initial_bits