inputting the alert for who wins or dies

inputting the information to output the alert for who wins and who dies
in the game