<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>English Collective Nouns Board Game Tutorial ... RJM Programming ... February 2016 ... thanks to http://stackoverflow.com/questions/9880279/how-do-i-add-a-simple-onclick-event-handler-to-a-canvas-element</title>
<link href='//www.rjmprogramming.com.au/PHP/emboss_h1.css' rel='stylesheet' type='text/css'>
<script language="JavaScript">
var sentenceparts = new Array(
"flock", "of", "seagulls",
"herd", "of", "cows",
"crowd", "of", "people",
"pack", "of", "dogs",
"shrewdness", "of", "apes",
"herd", "of", "seahorses",
"covey", "of", "ptarmigan",
"sloth", "of", "bears",
"clowder", "of", "cats",
"gang", "of", "elk",
"business", "of", "ferrets",
"tower", "of", "giraffes",
"litter", "of", "pups",
"warren", "of", "rabbits",
"colony", "of", "ants",
"bloat", "of", "hippopotamuses",
"leap", "of", "leopards",
"unkindness", "of", "ravens",
"herd", "of", "reindeer",
"prickle", "of", "porcupines",
"streak", "of", "tigers",
"stand", "of", "flamingos",
"army", "of", "caterpillars",
"pride", "of", "lions",
"business", "of", "flies",
"deceit", "of", "lapwings",
"coterie", "of", "prairie dogs",
"congress", "of", "baboons",
"parliment", "of", "owls",
"ostentation", "of", "peacocks",
"mustering", "of", "storks",
"army", "of", "frogs",
"intrusion", "of", "cockroaches",
"hill", "of", "ruffs",
"cloud", "of", "bats",
"culture", "of", "bacteria",
"family", "of", "sardines",
"pungent", "of", "sasquatch",
"stench", "of", "Schnauzers",
"raft", "of", "sea otters",
"smack", "of", "jellyfish",
"cete", "of", "badgers",
"romp", "of", "otters",
"wisp", "of", "snipe"
);
var ppl = 0;
var oklist = ":";
var pseudo_sentence = "";
var real_sentence = "";
var twothings = ["", ""];
var cderived_sentences = "";
var derived_sentences = [];
var prefix = [];
var midbit= [];
var midlist = ":";
var suffix = [];
var cprefix = "";
var cmidbit = "";
var csuffix = "";
var ij, jk, kl, bword="", unknownselect = "<select id='unknown'></select>";
var score = 0.0;
var goes = 0.0;
var realgoes = 0;
var maxx = 0.0;
var maxy = 0.0;
var sentencepick = 0;
var threepick = 0;
var offx = 0.0;
var offy = 0.0;
var okay = 1;
var gpx = 30;
var gpy = 30;
var gpttext = "";
var cf = "18px Verdana";
function updatescore() {
var sis=document.getElementById('score');
var cdot='.';
if (real_sentence == "") cdot='';
sis.innerHTML = "Score is " + score.toString() + " from " + goes.toString() + " goes<a target=_blank title='Last collective noun' onclick=" + '"' + "window.open('https://www.google.com.au/search?q=" + encodeURIComponent(derived_sentences[sentencepick]) + "&source=lnms&tbm=isch&sa=X&ved=0ahUKEwi6tdnEtu7KAhXEm5QKHYhHB9gQ_AUIBygB&biw=1172&bih=609','_blank','top=300,left=300,width=400,height=400');>" + cdot + "</a>";
}
function onloading() {
ppl = 0;
oklist = ":";
pseudo_sentence = "";
real_sentence = "";
twothings = ["", ""];
cderived_sentences = "";
derived_sentences = [];
prefix = [];
midbit= [];
midlist = ":";
suffix = [];
cprefix = "";
cmidbit = "";
csuffix = "";
bword="";
unknownselect = "<select id='unknown'></select>";
for (ij=0; ij<sentenceparts.length; ij+=3) {
sentenceparts[eval(ij + 1)] = sentenceparts[eval(ij + 1)].replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("±", "±").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("²", "²").replace("³", "³").replace("³", "³").replace("³", "³").replace("³", "³").replace("⁶", "⁶").replace("⁴", "⁴");
if (sentenceparts[eval(ij + 1)].indexOf("[") > -1) {
prefix[prefix.length] = sentenceparts[eval(ij + 0)].replace("²", "²").replace("₲", "√").replace("₲", "√").replace("±", "±").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("₲", "√").replace("³", "³").replace("⁶", "⁶").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³");
jk = sentenceparts[eval(ij + 1)].indexOf("[");
kl = sentenceparts[eval(ij + 1)].indexOf("]");
bword = sentenceparts[eval(ij + 1)].substring((jk + 1), eval((jk + 1) + kl - jk - 1));
//alert(bword);
sentenceparts[eval(ij + 1)] = sentenceparts[eval(ij + 1)].replace(" [" + bword + "]", "");
if (sentenceparts[eval(ij + 1)].indexOf("/") > -1) {
two_things = sentenceparts[eval(ij + 1)].split("/");
if (midlist.indexOf(":" + two_things[0] + ":") == -1) {
midlist = midlist + two_things[0] + ":";
midbit.push(two_things[0]);
}
derived_sentences[derived_sentences.length] = sentenceparts[eval(ij + 0)] + " " + two_things[0] + " " + sentenceparts[eval(ij + 2)];
if (midlist.indexOf(":" + two_things[1] + ":") == -1) {
midlist = midlist + two_things[1] + ":";
midbit.push(two_things[1]);
}
csuffix = csuffix + sentenceparts[eval(ij + 2)] + "`";
csuffix = csuffix + sentenceparts[eval(ij + 2)].replace(bword + " ", "") + "`";
suffix = csuffix.split("`");
derived_sentences[derived_sentences.length] = sentenceparts[eval(ij + 0)] + " " + two_things[1] + " " + sentenceparts[eval(ij + 2)];
derived_sentences[derived_sentences.length] = sentenceparts[eval(ij + 0)] + " " + sentenceparts[eval(ij + 2)].replace(bword + " ", "");
} else {
csuffix = csuffix + sentenceparts[eval(ij + 2)] + "`";
csuffix = csuffix + sentenceparts[eval(ij + 2)].replace(bword + " ", "") + "`";
suffix = csuffix.split("`");
derived_sentences[derived_sentences.length] = sentenceparts[eval(ij + 0)] + " " + sentenceparts[eval(ij + 1)] + " " + sentenceparts[eval(ij + 2)];
derived_sentences[derived_sentences.length] = sentenceparts[eval(ij + 0)].replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("±", "±").replace("²", "²").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("³", "³").replace("⁶", "⁶").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³") + " " + sentenceparts[eval(ij + 2)].replace(bword + " ", "");
}
} else if (sentenceparts[eval(ij + 1)].indexOf("/") > -1) {
prefix[prefix.length] = sentenceparts[eval(ij + 0)].replace("²", "²").replace("±", "±").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("³", "³").replace("⁶", "⁶").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³").replace("₲", "√").replace("₲", "√").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("₲", "√");
two_things = sentenceparts[eval(ij + 1)].split("/");
if (midlist.indexOf(":" + two_things[0] + ":") == -1) {
midlist = midlist + two_things[0] + ":";
midbit.push(two_things[0]);
}
csuffix = csuffix + sentenceparts[eval(ij + 2)] + "`";
suffix = csuffix.split("`");
//alert(99);
derived_sentences.push(sentenceparts[eval(ij + 0)] + " " + two_things[0] + " " + sentenceparts[eval(ij + 2)]);
//alert("... " + derived_sentences[derived_sentences.length - 1]);
if (midlist.indexOf(":" + two_things[1] + ":") == -1) {
midlist = midlist + two_things[1] + ":";
midbit.push(two_things[1]);
}
derived_sentences[derived_sentences.length] = sentenceparts[eval(ij + 0)].replace("²", "²").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("±", "±").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("³", "³").replace("⁶", "⁶").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³") + " " + two_things[1] + " " + sentenceparts[eval(ij + 2)];
//alert(midlist + " ... " + derived_sentences[derived_sentences.length - 1]);
} else {
//alert(sentenceparts[eval(ij + 0)]);
prefix[prefix.length] = sentenceparts[eval(ij + 0)].replace("²", "²").replace("³", "³").replace("⁶", "⁶").replace("±", "±").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³").replace("₲", "√").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("₲", "√");
csuffix = csuffix + sentenceparts[eval(ij + 2)] + "`";
suffix = csuffix.split("`");
if (midlist.indexOf(":" + sentenceparts[eval(ij + 1)] + ":") == -1) {
midlist = midlist + sentenceparts[eval(ij + 1)] + ":";
midbit.push(sentenceparts[eval(ij + 1)]);
}
derived_sentences[derived_sentences.length] = sentenceparts[eval(ij + 0)].replace("²", "²").replace("³", "³").replace("±", "±").replace("⁶", "⁶").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("₲", "√").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³") + " " + sentenceparts[eval(ij + 1)] + " " + sentenceparts[eval(ij + 2)];
}
}
kl = 0;
for (ij=0; ij<prefix.length; ij++) {
if (prefix[ij] != "") {
prefix[kl] = prefix[ij];
kl = kl + 1;
}
}
kl = 0;
cprefix = "<select id='sfirst' style='display:none; text-align:right;'>";
for (ij=0; ij<prefix.length; ij++) {
if (prefix[ij] != "") {
cprefix = cprefix + "<option value=" + kl + ">" + prefix[ij] + "</option>";
kl = kl + 1;
}
}
prefix[prefix.length] = "";
ppl = kl;
cprefix = cprefix + "<option value=" + kl + "></option>";
cprefix = cprefix + "</select>";
kl = 0;
cmidbit = "<select id='smiddle' style='display:none; text-align:center;'>";
for (ij=0; ij<midbit.length; ij++) {
cmidbit = cmidbit + "<option value=" + kl + ">" + midbit[ij] + "</option>";
kl = kl + 1;
}
cmidbit = cmidbit + "</select>";
kl = 0;
csuffix = "<select id='slast' style='display:none;'>";
for (ij=0; ij<suffix.length; ij++) {
if (suffix[ij] != "") {
csuffix = csuffix + "<option value=" + kl + ">" + suffix[ij] + "</option>";
kl = kl + 1;
}
}
csuffix = csuffix + "</select>";
kl = 0;
cderived_sentences = "<select id='sentences' style='display:none;'>";
for (ij=0; ij<derived_sentences.length; ij++) {
cderived_sentences = cderived_sentences + "<option value=" + kl + ">" + derived_sentences[ij] + "</option>";
kl = kl + 1;
}
cderived_sentences = cderived_sentences + "</select>";
//alert(cprefix);
//alert(cmidbit);
//alert(csuffix);
//alert(cderived_sentences);
document.getElementById('dsentence').innerHTML = document.getElementById('dsentence').innerHTML + cprefix;
document.getElementById('dsentence').innerHTML = document.getElementById('dsentence').innerHTML + cmidbit;
document.getElementById('dsentence').innerHTML = document.getElementById('dsentence').innerHTML + csuffix;
document.getElementById('dsentence').innerHTML = document.getElementById('dsentence').innerHTML + cderived_sentences;
pick_a_sentence();
elem.click();
}
function andthen() {
elem.click();
}
function check_answer(osel) {
if (osel.value != "") {
//alert(oklist);
goes = goes + 1;
if (oklist.indexOf(":" + osel.value + ":") == -1) {
updatescore();
placerealtext();
//window.open(url, "_blank"); //, "top=400,left=500,height=380,width=680");
setTimeout(andthen, 9000);
} else {
score = score + 1;
updatescore();
real_sentence = "Yay!!!";
placerealtext();
//window.open(url, "_blank"); //, "top=400,left=500,height=380,width=680");
setTimeout(andthen, 2000);
}
}
}
function pick_a_sentence() {
var p="", s="", mb="", ii, jj=eval(prefix.length - 1), kk=-1, ll=-1, mm, nn, cword, thereagain=0, ithere;
oklist = ":";
sentencepick = Math.floor((Math.random()*kl)+0);
threepick=1;
while (threepick == 1) {
threepick = Math.floor((Math.random()*3)+0);
if (threepick == 0) {
cword=sentenceparts[eval(3 * sentencepick)];
for (ithere=0; ithere<sentenceparts.length; ithere+=3) {
if (ithere != eval(3 * sentencepick) && cword == sentenceparts[ithere]) threepick=2;
}
}
}
for (ii=0; ii<prefix.length; ii++) {
if (derived_sentences[sentencepick].indexOf(prefix[ii]) != -1 && prefix[ii] != "") jj = ii;
}
for (ii=0; ii<suffix.length; ii++) {
if (ll == -1 && derived_sentences[sentencepick].indexOf(suffix[ii]) != -1 && suffix[ii] != "") {
ll = ii;
mb = derived_sentences[sentencepick].replace(prefix[jj], "").replace(suffix[ll], "").trim();
//alert(midbit.length + ":" + threepick + " " + derived_sentences[sentencepick] + " originally, then mb=*" + mb + "* derived_sentences[" + sentencepick + "].replace('" + prefix[jj] + "' + ' ','').replace('" + suffix[ll] + "' + ' ','').replace(' ', '').replace(' ', '')=" + derived_sentences[sentencepick].replace(prefix[jj] + " ", "").replace(suffix[ll], ""));
}
}
for (ii=0; ii<midbit.length; ii++) {
if (midbit[ii].indexOf(mb) > -1) kk = ii;
}
//alert(derived_sentences[sentencepick]);
real_sentence = derived_sentences[sentencepick];
unknownselect = "<select id='unknown'></select>";
if (threepick == 0) {
pseudo_sentence = ("... " + midbit[kk] + " " + suffix[ll]).replace(" ", " ").replace(" ", " ").replace("undefined", "");
s = "<td>" + (" " + midbit[kk] + " " + suffix[ll]).replace(" ", " ") + "</td>";
//unknownselect = "<td>" + cprefix.replace("sfirst", "unknown").replace("none;", "block;").replace("</select>", "<option value='' selected>Please select a sentence prefix above (instead of ... below)</option></select></td>");
unknownselect = "<td>" + cprefix.replace("<select", "<select onchange='check_answer(this);'").replace("sfirst", "unknown").replace("none;", "block;").replace("</select>", "<option value='' selected>... </option></select></td>");
//alert("kk=" + kk + " and ll=" + ll + " and pseudo_sentence=" + pseudo_sentence + " and s=" + s + " and unknownselect=" + unknownselect);
if (jj == eval(prefix.length - 1)) {
//alert("jj=" + jj);
//alert("prefix=" + prefix);
oklist = oklist + ppl + ":";
} else {
for (mm=0; mm<derived_sentences.length; mm++) {
for (nn=0; nn<prefix.length; nn++) {
if (pseudo_sentence.replace("...", prefix[nn]).replace(" ", " ").replace(" ", " ").trim() == derived_sentences[mm].trim() && oklist.indexOf(":" + nn + ":") == -1) {
oklist = oklist + nn + ":";
}
}
}
}
} else if (threepick == 1) {
pseudo_sentence = (prefix[jj] + " ... " + suffix[ll]).replace(" ", " ").replace(" ", " ").replace("undefined", "");
p = "<td>" + prefix[jj] + " " + "</td>";
s = "<td>" + " " + suffix[ll] + "</td>";
//unknownselect = "<td>" + cmidbit.replace("smiddle", "unknown").replace("none;", "block;").replace("</select>", "<option value='' selected>Please select a sentence middle word (or not) above (instead of ... below)</option></select></td>");
unknownselect = "<td>" + cmidbit.replace("<select", "<select onchange='check_answer(this);'").replace("smiddle", "unknown").replace("none;", "block;").replace("</select>", "<option value='' selected> ... </option></select></td>");
//alert("kk=" + kk + " and ll=" + ll + " and pseudo_sentence=" + pseudo_sentence + " and s=" + s + " and unknownselect=" + unknownselect);
for (mm=0; mm<derived_sentences.length; mm++) {
for (nn=0; nn<midbit.length; nn++) {
if (pseudo_sentence.replace("...", midbit[nn]).replace(" ", " ").replace(" ", " ").trim() == derived_sentences[mm].trim() && oklist.indexOf(":" + nn + ":") == -1) {
oklist = oklist + nn + ":";
}
}
}
} else {
pseudo_sentence = (prefix[jj] + " " + midbit[kk] + " ...").replace(" ", " ").replace(" ", " ").replace("undefined", "");
p = "<td>" + (prefix[jj] + " " + midbit[kk] + " ").replace(" ", " ") + "</td>";
//unknownselect = "<td>" + csuffix.replace("slast", "unknown").replace("none;", "block;").replace("</select>", "<option value='' selected>Please select a sentence ending above (instead of ... below)</option></select></td>");
unknownselect = "<td>" + csuffix.replace("<select", "<select onchange='check_answer(this);'").replace("slast", "unknown").replace("none;", "block;").replace("</select>", "<option value='' selected> ...</option></select></td>");
//alert("kk=" + kk + " and ll=" + ll + " and pseudo_sentence=" + pseudo_sentence + " and s=" + s + " and unknownselect=" + unknownselect);
for (mm=0; mm<derived_sentences.length; mm++) {
for (nn=0; nn<suffix.length; nn++) {
if (pseudo_sentence.replace("...", suffix[nn]).replace(" ", " ").replace(" ", " ").trim() == derived_sentences[mm].trim() && oklist.indexOf(":" + nn + ":") == -1) {
oklist = oklist + nn + ":";
}
}
}
}
document.getElementById('dunknown').innerHTML = "<table><tr>" + p.replace("undefined", "") + unknownselect.replace("<td> undefined", "<td> ").replace("<td>undefined ", "<td> ") + s.replace("undefined", "") + "</tr></table>";
placetext();
}
function addsome() {
var two="", three="", one=prompt("Enter collective noun", "");
if (one != "") {
two='of'; //prompt("Enter second of your threesome that started with " + one, "");
if (two != "") {
three=prompt("Enter noun associated with " + one + " " + two + " ", "");
if (three != "") {
sentenceparts[sentenceparts.length] = one;
sentenceparts[sentenceparts.length] = two;
sentenceparts[sentenceparts.length] = three;
onloading();
}
}
}
}
</script>
</head>
<body align="center" onload="onloading();">
<h1 align="center">English Collective Nouns Dot<a title="Add your own threesome" onclick="addsome();" href="#">Dot</a>Dot Game</h1>
<h2 align="center" id="score">Score is 0 from 0 goes.</h2>
<div align="center" id='dsentence'></div><div align="center" id='dunknown'></div>
<canvas style='border: 5px solid green; background-color: black; opacity: 0.3;' title='Click for your next collective noun to solve' id="canvaselement" width="1350" height="700" style="border: 1px solid green;" />
<script language="JavaScript">
var toggle = 0;
var goodx = 200;
var goody = 200;
var inidone = 0;
var curcard = 0;
var suffix = "";
var scoretoget = 20;
var elem = document.getElementById('canvaselement');
var elemLeft = elem.offsetLeft;
var elemTop = elem.offsetTop;
var context = elem.getContext('2d');
var arr=['0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'];
// Add event listener for `click` events.
elem.addEventListener('click', function(event) {
elem.width = elem.width;
elem.style.backgroundImage = "none";
elem.style.opacity = 1.0;
var x = event.pageX - elemLeft;
var y = event.pageY - elemTop;
x = goodx;
y = goody;
var r = Math.floor((Math.random()*256)+0);
var g = Math.floor((Math.random()*256)+0);
var b = Math.floor((Math.random()*256)+0);
var thiscol ='#' + arr[(r-(r % 16)) / 16] + arr[r % 16] + arr[(g-(g % 16)) / 16] + arr[g % 16] + arr[(b-(b % 16)) / 16] + arr[b % 16];
elem.style.backgroundColor = thiscol;
pick_a_sentence();
}, false);
function rbitof(num) {
var ipos;
var str = "";
if (num >= 0) {
ipos = real_sentence.indexOf(". ");
if (ipos == -1 || num == 2) {
str = real_sentence;
real_sentence = "";
return str;
} else {
str = real_sentence.substring(0, (ipos + 1));
real_sentence = real_sentence.substring((ipos + 1)).trim();
return str;
}
}
return "";
}
function pbitof(num) {
var ipos;
var str = "";
if (num >= 0) {
ipos = pseudo_sentence.indexOf(". ");
if (ipos == -1 || num == 2) {
str = pseudo_sentence;
pseudo_sentence = "";
return str;
} else {
str = pseudo_sentence.substring(0, (ipos + 1));
pseudo_sentence = pseudo_sentence.substring((ipos + 1)).trim();
return str;
}
}
return "";
}
function placetext() {
context.font = cf;
var wasp = pseudo_sentence;
context.strokeText(pseudo_sentence.replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("²", "²").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("±", "±").replace("³", "³").replace("⁶", "⁶").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³"),gpx,gpy);
//context.strokeText(pbitof(0).replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("²", "²").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("±", "±").replace("³", "³").replace("⁶", "⁶").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³"),gpx,gpy);
//context.strokeText(pbitof(1).replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("²", "²").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("±", "±").replace("³", "³").replace("⁶", "⁶").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³"),gpx,(gpy + 50));
//context.strokeText(pbitof(2).replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("²", "²").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("±", "±").replace("³", "³").replace("⁶", "⁶").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³"),gpx,(gpy + 100));
pseudo_sentence = wasp;
//gpy = gpy + 50;
}
function placerealtext() {
context.font = cf;
var wasp = real_sentence;
context.strokeText(real_sentence.replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("²", "²").replace("±", "±").replace("³", "³").replace("⁶", "⁶").replace("₲", "√").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("₲", "√").replace("₲", "√").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³"),gpx,(gpy + 170));
//context.strokeText(rbitof(0).replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("²", "²").replace("±", "±").replace("³", "³").replace("⁶", "⁶").replace("₲", "√").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("₲", "√").replace("₲", "√").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³"),gpx,(gpy + 170));
//context.strokeText(rbitof(1).replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("²", "²").replace("±", "±").replace("³", "³").replace("⁶", "⁶").replace("₲", "√").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("₲", "√").replace("₲", "√").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³"),gpx,(gpy + 220));
//context.strokeText(rbitof(2).replace("₲", "√").replace("₲", "√").replace("₲", "√").replace("²", "²").replace("±", "±").replace("³", "³").replace("⁶", "⁶").replace("₲", "√").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("∛", "∛").replace("₲", "√").replace("₲", "√").replace("⁴", "⁴").replace("³", "³").replace("³", "³").replace("³", "³"),gpx,(gpy + 270));
real_sentence = wasp;
//gpy = gpy + 50;
}
updatescore();
</script>
</body>
</html>