<input type="button" value="Play" onClick="if(Math.random()<0.5){alert('Victory')}else{alert('Defeat')}">