fixed erroneous alert, notifying user won after x moves