Commit 08db9c64 authored by Steven Cordwell's avatar Steven Cordwell

Merge branch 'hotfix'

parents eb101575 74249082
......@@ -161,7 +161,7 @@ def isWon(state, who):
"""
for w in WINS:
S = sum(1 if (w[k] == state[k] == who) else 0
S = sum(1 if (w[k] == 1 and state[k] == who) else 0
for k in range(ACTIONS))
if S == 3:
# We have a win
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment