16,18d15 < var amdragging=false, havedropped=false, dropthing=''; < var defxo='❌', computerthere=false; < 46,48d42 < if (preotherclicks != '') { < if (eval(eval('' + preotherclicks.split(',').length) % 2) == 1) { defxo='⭕'; } < } 121,130d114 < function emojithem(who) { < if (who == 'Computer') { < computerthere=true; < return who + ' ' + String.fromCodePoint(10060) + ' '; < } else if (computerthere) { < return who + ' ' + String.fromCodePoint(11093) + ' '; < } < return who; < } < 421,422c405 < if ((oemail.split(',')[0] + oemail.split(',')[1]).indexOf('Computer') != -1) { emojithem('Computer'); } < alert(emojithem(oemail.split(',')[0]) + " wins! Bad luck, " + emojithem(oemail.split(',')[1])); --- > alert(oemail.split(',')[0] + " wins! Bad luck, " + oemail.split(',')[1]); 424,425c407 < emojithem('Computer'); < alert("Congratulations! " + emojithem("You") + " win. Scores: " + emojithem("Computer") + " " + cscore + " vs " + emojithem("You") + " " + yscore + " (" + dscore + " draws)"); --- > alert("Congratulations! You win. Scores: Computer " + cscore + " vs You " + yscore + " (" + dscore + " draws)"); 482d463 < 484,485c465 < if ((oemail.split(',')[0] + oemail.split(',')[1]).indexOf('Computer') != -1) { emojithem('Computer'); } < alert(emojithem(oemail.split(',')[1]) + " wins! Bad luck, " + emojithem(oemail.split(',')[0])); --- > alert(oemail.split(',')[1] + " wins! Bad luck, " + oemail.split(',')[0]); 487,488c467 < emojithem('Computer'); < alert(emojithem("Computer") + " wins! Bad luck. Scores: " + emojithem("Computer") + " " + cscore + " vs " + emojithem("You") + " " + yscore + " (" + dscore + " draws)"); --- > alert("Computer wins! Bad luck. Scores: Computer " + cscore + " vs You " + yscore + " (" + dscore + " draws)"); 555c534 < alert("It is a draw. Well played. Scores: " + emojithem("Computer") + " " + cscore + " vs " + emojithem("You") + " " + yscore + " (" + dscore + " draws)"); --- > alert("It is a draw. Well played. Scores: Computer " + cscore + " vs You " + yscore + " (" + dscore + " draws)"); 760c739 < var hcont2 = ' '; --- > var hcont2 = '
'; 788d766 < var ifbittwo=''; 793c771 < document.body.innerHTML = hcont + hcont2 + hcont3 + hcont4 + hcont5 + hcont6 + hcont7 + hcont8 + hcont9 + hcont10 + hcont11 + hcont12 + hcont13 + hcont14 + hcont15 + hcont16 + hcont17 + hcont18 + hcont19 + hcont20 + hcont21 + eform + ifbit + ifbittwo; --- > document.body.innerHTML = hcont + hcont2 + hcont3 + hcont4 + hcont5 + hcont6 + hcont7 + hcont8 + hcont9 + hcont10 + hcont11 + hcont12 + hcont13 + hcont14 + hcont15 + hcont16 + hcont17 + hcont18 + hcont19 + hcont20 + hcont21 + eform + ifbit;