You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make minmax algorithm avoid the repetition. The following checks can be performed
if move(1)==move(5) and
move(2)==move(6) and
move(3)==move(7) and
move(4)==move(8)
do not make move(4)
move(n) = the last n-th move. For example move(1) is the last move the opponent made, move(2) is the last move the current player made.
The text was updated successfully, but these errors were encountered:
Make minmax algorithm avoid the repetition. The following checks can be performed
if move(1)==move(5) and
move(2)==move(6) and
move(3)==move(7) and
move(4)==move(8)
do not make move(4)
move(n) = the last n-th move. For example move(1) is the last move the opponent made, move(2) is the last move the current player made.
The text was updated successfully, but these errors were encountered: