Detects wins.