automatic win detection
win detection