Adds ability to detect winning conditions.