33,34c33,34
< margin: 2% auto;
< padding: 12px 4px;
---
> margin: 5% auto;
> padding: 12px 28px;
50,53d49
< .animal {
< text-shadow: 0.3px 0.3px 0.4px #2dff95;
< }
<
76,79d71
< #score {
< margin-top: -8px;
< }
<
91,94d82
< #score {
< margin-top: -8px;
< }
<
124,134c112
< var ngblurb='game ';
<
< var oteote=128028;
< var plural=(location.search.split('plural=')[1] ? decodeURIComponent(location.search.split('plural=')[1]).split('&')[0] : 'ants');
< if (plural.indexOf('.') != -1) {
< oteote=eval(('' + plural).split('.')[1]);
< plural=('' + ('' + plural).split('.')[0] + 's').replace(/ss$/g,'s');
< } else if (plural.toLowerCase().indexOf('monkey') == 0 || plural == '128018') {
< oteote=128018;
< plural='monkeys';
< }
---
> var ngblurb='game ';
144c122
< this.ih=o.ih || '' + oteote + ';';
---
> this.ih=o.ih || '🐜';
180c158
< document.getElementById('rest').innerHTML+='<' + this.ourtype + ' class=animal id=' + this.ourid + ' ontouchstart="exterminate(this);" onmousedown="exterminate(this);" style="z-index:9;position:absolute;font-size:18px;width:22px;height:22px;top:' + Math.round(this.y) + 'px;left:' + Math.round(this.x) + 'px;-o-transform: rotate(' + this.rotation + 'deg); -moz-transform: rotate(' + this.rotation + 'deg); -ms-transform: rotate(' + this.rotation + 'deg); -webkit-transform: rotate(' + this.rotation + 'deg); transform: rotate(' + this.rotation + 'deg);">' + this.ih + '' + this.ourtype + '>';
---
> document.getElementById('rest').innerHTML+='<' + this.ourtype + ' id=' + this.ourid + ' ontouchstart="exterminate(this);" onmousedown="exterminate(this);" style="z-index:9;position:absolute;font-size:18px;width:22px;height:22px;top:' + Math.round(this.y) + 'px;left:' + Math.round(this.x) + 'px;-o-transform: rotate(' + this.rotation + 'deg); -moz-transform: rotate(' + this.rotation + 'deg); -ms-transform: rotate(' + this.rotation + 'deg); -webkit-transform: rotate(' + this.rotation + 'deg); transform: rotate(' + this.rotation + 'deg);">' + this.ih + '' + this.ourtype + '>';
264c242
< curwidth=eval(-18 + eval('' + rectw.width));
---
> curwidth=eval(-9 + eval('' + rectw.width));
282c260
< ants.push(new Ant({ourtype:"div", ourclass:"atbottom", ourid:"ant" + curant, ih:"" + oteote + ";", x:Math.floor(Math.random() * startx), y:starty, rotation:eval(Math.floor(Math.random() * 40) + 70)}));
---
> ants.push(new Ant({ourtype:"div", ourclass:"atbottom", ourid:"ant" + curant, ih:"🐜", x:Math.floor(Math.random() * startx), y:starty, rotation:eval(Math.floor(Math.random() * 40) + 70)}));
288c266
< document.getElementById('score').innerHTML="Score: " + score + ". Don't mean to scare you but there are " + eval(numants - minus) + " " + plural + " left looking for " + goes + " food items. Time survived with food & clicking " + plural + " away: " + isecs + " seconds.";
---
> document.getElementById('score').innerHTML="Score: " + score + ". Don't mean to scare you but there are " + eval(numants - minus) + " ants left looking for " + goes + " food items. Time survived keeping food and clicking ants away: " + isecs + " seconds.";
293c271
< alert('Congratulations on with some food for ' + isecs + ' seconds.');
---
> alert('Congratulations on keeping some food for ' + isecs + ' seconds.');
317,318c295,296
< top.document.getElementById('custom-alert-1').innerHTML="Congratulations on with some food for " + isecs + " seconds. Click Ants Up the Wall " + ngblurb + wsprefix.trim() + "title" + wssuffix + ", or click comma above, for another game.";
< top.document.getElementById('custom-alert-1').style.display='inline-block'; // 'inline';
---
> top.document.getElementById('custom-alert-1').innerHTML="Congratulations on keeping some food for " + isecs + " seconds. Click Ants Up the Wall " + ngblurb + wsprefix.trim() + "title" + wssuffix + ", or click comma above, for another game.";
> top.document.getElementById('custom-alert-1').style.display='inline';
321,330c299
< top.document.body.innerHTML+="
Congratulations on with some food for " + isecs + " seconds. Click Ants Up the Wall " + ngblurb + wsprefix.trim() + "title" + wssuffix + ", or click comma above, for another game.
Congratulations on keeping some food for " + isecs + " seconds. Click Ants Up the Wall " + ngblurb + wsprefix.trim() + "title" + wssuffix + ", or click comma above, for another game.
";
336,337c305,306
< document.getElementById('custom-alert-1').innerHTML="Congratulations on with some food for " + isecs + " seconds. Click Ants Up the Wall " + ngblurb + wsprefix + "title" + wssuffix.trim() + ", or click comma above, for another game.";
< document.getElementById('custom-alert-1').style.display='inline-block'; // 'inline';
---
> document.getElementById('custom-alert-1').innerHTML="Congratulations on keeping some food for " + isecs + " seconds. Click Ants Up the Wall " + ngblurb + wsprefix + "title" + wssuffix.trim() + ", or click comma above, for another game.";
> document.getElementById('custom-alert-1').style.display='inline';
340,349c309
< document.body.innerHTML+="
Congratulations on with some food for " + isecs + " seconds. Click Ants Up the Wall " + ngblurb + wsprefix.trim() + "title" + wssuffix + ", or click comma above, for another game.
Congratulations on keeping some food for " + isecs + " seconds. Click Ants Up the Wall " + ngblurb + wsprefix.trim() + "title" + wssuffix + ", or click comma above, for another game.