[flags] added win|lose condition