lastMove not bad
This commit is contained in:
1
nimm.py
1
nimm.py
@ -51,7 +51,6 @@ def game(train):
|
|||||||
if lost:
|
if lost:
|
||||||
if train:
|
if train:
|
||||||
addLostMove(state + move, move)
|
addLostMove(state + move, move)
|
||||||
addLostMove(lastMove.state, lastMove.move)
|
|
||||||
return 0 # optimale Strategie hat gewonnen
|
return 0 # optimale Strategie hat gewonnen
|
||||||
lastMove = Move(state + move, move)
|
lastMove = Move(state + move, move)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user