fixed an issue where the game wasn't ending right away after the computer wins when the player is going second.