Fix bug
This commit is contained in:
parent
3ff55f281e
commit
ed3c86a282
|
@ -110,9 +110,9 @@ class Game:
|
||||||
except:
|
except:
|
||||||
# An error occured during the evaluation of pp.player strategy
|
# An error occured during the evaluation of pp.player strategy
|
||||||
if id == 0:
|
if id == 0:
|
||||||
self.winner = 1
|
self.winner = 2
|
||||||
elif id == 1:
|
elif id == 1:
|
||||||
self.winner = 0
|
self.winner = 1
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
@ -135,9 +135,9 @@ class Game:
|
||||||
except:
|
except:
|
||||||
# An error occured during the evaluation of pp.player strategy
|
# An error occured during the evaluation of pp.player strategy
|
||||||
if id == 0:
|
if id == 0:
|
||||||
self.winner = 1
|
self.winner = 2
|
||||||
elif id == 1:
|
elif id == 1:
|
||||||
self.winner = 0
|
self.winner = 1
|
||||||
return False
|
return False
|
||||||
|
|
||||||
for (id, pp) in enumerate(self.pps):
|
for (id, pp) in enumerate(self.pps):
|
||||||
|
|
Loading…
Reference in New Issue