reset currentTurn to -1 so that we can determine starting team on the fly
updated the code to be able to handle one-move-mate for black-to-play and win scenarios