Implemented logic that determines if the next player has a possible move.