added alert view to show win or lose.