changed game logic - game ends when no player has a legal move