game win lose condition added