Refactored base code to account for neutral bases; added win / loss conditions