Bug fix

scratch that, had a bug where the current player wasn't switching
properly when there were no more moves. Fixed it now.