Implement self-solving game