projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d569326
)
We have standards
author
Stefano Rivera
<stefano@rivera.za.net>
Sat, 17 May 2014 19:17:51 +0000
(21:17 +0200)
committer
Stefano Rivera
<stefano@rivera.za.net>
Sat, 17 May 2014 19:18:04 +0000
(21:18 +0200)
naja/gameboard.py
patch
|
blob
|
history
diff --git
a/naja/gameboard.py
b/naja/gameboard.py
index 7d9dfafe1c44b30b160da7d1ba276858ebfa5504..52d1323bd176a5cd3ca7205086b7fe44455f450f 100644
(file)
--- a/
naja/gameboard.py
+++ b/
naja/gameboard.py
@@
-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