Tools & Household Items
';
$ideanum=1;
$nineideas=[''];
$nineideassofar=" \n";
$choosefrom=explode('', $tandh);
$delm="\n";
while (sizeof($nineideas) < 9) {
$thisroom=$delm;
while (strpos($nineideassofar, ' ' . $thisroom) !== false) {
$rv=rand(0, (-1 + sizeof($choosefrom)));
if (strpos($choosefrom[$rv], '"oops"') !== false) {
$thisroom=$delm;
} else {
$thisemoji=explode('>', $choosefrom[$rv])[-1 + sizeof(explode('>', $choosefrom[$rv]))]; // . substr(explode('"', explode(' href="', $choosefrom[$rv])[1])[0],1);
$thisroom=explode('"', explode(' title="', $choosefrom[$rv])[1])[0];
}
}
//echo "774";
//exit;
if ($ideanum == 1) {
//echo "77";
//exit;
$nineideassofar="1 " . $thisroom . "\n" . $thisemoji . "\n";
$nineideas[0]=$nineideassofar; //"1 " . $thisroom . "\n" . $thisemoji;
//echo '' . $nineideas[0];
//exit;
//$nineideassofar='' . $nineideas[-1 + $ideanum];
$delm=substr($nineideassofar,2);
$ideanum++;
} else {
array_push($nineideas, '' . $ideanum . " " . $thisroom . "\n" . $thisemoji . "\n");
$nineideassofar.="\n" . $nineideas[-1 + $ideanum];
$ideanum++;
}
}
$typedescstuff=$nineideassofar;
//echo str_replace("\n","
",$typedescstuff);
//exit;
if (5 == 7) {
// Thanks to https://www.enneagraminstitute.com/type-descriptions and https://www.psychologyjunkie.com/enneagram-famous-people/
$typedescstuff="1 MERCURY
2 VENUS
3 EARTH
Moon#//upload.wikimedia.org/wikipedia/commons/thumb/f/f7/Far_side_of_the_Moon.png/220px-Far_side_of_the_Moon.png
4 MARS
Phobos#//upload.wikimedia.org/wikipedia/commons/thumb/5/5c/Phobos_colour_2008.jpg/220px-Phobos_colour_2008.jpg,Deimos#//upload.wikimedia.org/wikipedia/commons/thumb/8/86/NASA-Deimos-MarsMoon-20090221.jpg/220px-NASA-Deimos-MarsMoon-20090221.jpg
5 JUPITER
Io#//upload.wikimedia.org/wikipedia/commons/thumb/c/cc/Io%2C_Earth_%26_Moon_size_comparison.jpg/220px-Io%2C_Earth_%26_Moon_size_comparison.jpg,Europa#//upload.wikimedia.org/wikipedia/commons/thumb/1/1c/Europa_in_natural_color.png/275px-Europa_in_natural_color.png,Ganymede#//upload.wikimedia.org/wikipedia/commons/thumb/7/76/Ganymede%2C_Earth_%26_Moon_size_comparison.jpg/250px-Ganymede%2C_Earth_%26_Moon_size_comparison.jpg,Callisto#//upload.wikimedia.org/wikipedia/commons/thumb/2/2f/Callisto_-_July_8_1979_%2838926064465%29.jpg/220px-Callisto_-_July_8_1979_%2838926064465%29.jpg
6 SATURN
Titan#//upload.wikimedia.org/wikipedia/commons/thumb/f/fe/Titan_in_true_color_by_Kevin_M._Gill.jpg/220px-Titan_in_true_color_by_Kevin_M._Gill.jpg,Iapetus#//upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Iapetus_as_seen_by_the_Cassini_probe_-_20071008.jpg/220px-Iapetus_as_seen_by_the_Cassini_probe_-_20071008.jpg,Rhea#//upload.wikimedia.org/wikipedia/commons/thumb/a/ab/PIA07763_Rhea_full_globe5.jpg/220px-PIA07763_Rhea_full_globe5.jpg,Dione#//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Dione_in_natural_light_%28cropped%29.jpg/220px-Dione_in_natural_light_%28cropped%29.jpg,Tethys#//upload.wikimedia.org/wikipedia/commons/thumb/b/bc/PIA18317-SaturnMoon-Tethys-Cassini-20150411.jpg/220px-PIA18317-SaturnMoon-Tethys-Cassini-20150411.jpg,Mimas#//upload.wikimedia.org/wikipedia/commons/thumb/b/bc/Mimas_Cassini.jpg/220px-Mimas_Cassini.jpg,Enceladus#//upload.wikimedia.org/wikipedia/commons/thumb/8/83/PIA17202_-_Approaching_Enceladus.jpg/280px-PIA17202_-_Approaching_Enceladus.jpg
7 URANUS
Titania#//upload.wikimedia.org/wikipedia/commons/thumb/4/44/Titania_Earth_Moon_Comparison.png/250px-Titania_Earth_Moon_Comparison.png,Oberon#//upload.wikimedia.org/wikipedia/commons/thumb/6/6d/Oberon_in_true_color_by_Kevin_M._Gill.jpg/220px-Oberon_in_true_color_by_Kevin_M._Gill.jpg,Miranda#//upload.wikimedia.org/wikipedia/commons/thumb/e/e1/PIA18185_Miranda%27s_Icy_Face.jpg/220px-PIA18185_Miranda%27s_Icy_Face.jpg,Cressida#//upload.wikimedia.org/wikipedia/commons/2/2d/Cressida_enhanced_Southern_skies-2.png,Umbriel#//upload.wikimedia.org/wikipedia/commons/thumb/7/72/Umbriel_Earth_Moon_Comparison.png/250px-Umbriel_Earth_Moon_Comparison.png,Ariel#//upload.wikimedia.org/wikipedia/commons/thumb/9/92/Ariel_Earth_Moon_Comparison.png/250px-Ariel_Earth_Moon_Comparison.png
8 NEPTUNE
Naiad#//upload.wikimedia.org/wikipedia/commons/thumb/f/f3/Naiad_Voyager.png/220px-Naiad_Voyager.png,Thalassa#//upload.wikimedia.org/wikipedia/commons/thumb/5/5c/Neptune_Trio.jpg/220px-Neptune_Trio.jpg,Despina#//upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Despina.jpg/220px-Despina.jpg,Galatea#//upload.wikimedia.org/wikipedia/commons/thumb/d/d8/Galatea_moon.jpg/220px-Galatea_moon.jpg,Larissa#//upload.wikimedia.org/wikipedia/commons/thumb/5/5b/Larissa_1.jpg/220px-Larissa_1.jpg,Proteus#//upload.wikimedia.org/wikipedia/commons/thumb/8/83/Proteus_%28Voyager_2%29.jpg/220px-Proteus_%28Voyager_2%29.jpg,Triton#//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Triton_moon_mosaic_Voyager_2_%28large%29.jpg/300px-Triton_moon_mosaic_Voyager_2_%28large%29.jpg,Nereid#//upload.wikimedia.org/wikipedia/commons/b/b0/Nereid-Voyager2.jpg,Halimede#//upload.wikimedia.org/wikipedia/commons/thumb/0/02/Halimede.jpg/250px-Halimede.jpg,Sao#//upload.wikimedia.org/wikipedia/commons/thumb/7/7a/Sao_VLT-FORS1_2002-09-03_annotated.gif/250px-Sao_VLT-FORS1_2002-09-03_annotated.gif,Laomedeia#//upload.wikimedia.org/wikipedia/commons/thumb/0/05/Laomedeia_VLT-FORS1_2002-09-03_annotated.gif/250px-Laomedeia_VLT-FORS1_2002-09-03_annotated.gif,Psamathe#//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Psamathe_feat.jpg/250px-Psamathe_feat.jpg,Neso#//upload.wikimedia.org/wikipedia/commons/thumb/f/f0/Neso_VLT-FORS1_2002-09-03_annotated.gif/250px-Neso_VLT-FORS1_2002-09-03_annotated.gif
9 PLUTO
Charon#//upload.wikimedia.org/wikipedia/commons/thumb/2/2e/Charon_in_True_Color_-_High-Res.jpg/220px-Charon_in_True_Color_-_High-Res.jpg,Styx#//upload.wikimedia.org/wikipedia/commons/thumb/3/38/Styx_%28moon%29.jpg/220px-Styx_%28moon%29.jpg,Nix#//upload.wikimedia.org/wikipedia/commons/thumb/5/51/Nix_best_view.jpg/220px-Nix_best_view.jpg,Kerberos#//upload.wikimedia.org/wikipedia/commons/thumb/2/23/Kerberos_%28moon%29.jpg/220px-Kerberos_%28moon%29.jpg,Hydra#//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Hydra_reprocessed.png/220px-Hydra_reprocessed.png";
}
$thisis=file_get_contents(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'emoji_object_game.php');
$lastotherde='';
$categorizations=[];
$wikistuffs=explode("\n", $typedescstuff);
$wikidesignations=[];
$wikidescriptions=[];
$crandlist='';
$randlist=[];
$thisde='';
$otherde='';
for ($i=0; $i' . $i . '<', '>##' . $rrandlist[-1 + $i] . '<', $templategame);
}
$templategame=str_replace('>##', '>', $templategame);
$templategame=str_replace('', '', $templategame);
$templategame=str_replace('>Game<', '>Emoji Obj' . 'ect Game ... drag to matching correct room type or emoji to score<', $templategame);
$templategame=str_replace('>', '>' . $scorebit . '', $templategame);
$thepsource=explode('f0;">', explode("", $templategame)[0])[-1 + sizeof(explode('f0;">', explode("", $templategame)[0]))];
$templategame=str_replace(', 2023<', ', 2023 ... thanks to Wikipedia<', $templategame);
$templategame=str_replace('>Reset example<', ' style="display:none;">Reset example<', $templategame);
//echo $crandlist . "\n" . $thepsource . "\n" . $correctans . "\n";
//exit;
//echo $crandlist . "\n";
//echo "" . $randlist[$correctans] . "\n" . $wikidescriptions[$correctans] . "\n" . $wikidesignations[$correctans];
//exit;
//file_put_contents('x.x', '' . $randmode . "\n" . $crandlist . "\n" . $thepsource . "\n" . $correctans . "\n" . $crandlist . "\n" . $randlist[$correctans] . "\n" . $wikidescriptions[$correctans] . "\n" . $wikidesignations[$correctans]);
if ($randmode == 0) { // designation up top and descriptions in drop zone
$jkh=0;
while (strpos($badlist, ',' . explode(' ... ', $wikidescriptions[$correctans])[0] . ',') !== false) {
$jkh++;
$correctans=rand(0,8);
if ($jkh > 20) { header('Location: ' . $recallit); exit; }
}
$templategame=str_replace('>' . (1 + $correctans) . '<', ' data-answer="' . explode(' ... ', $wikidescriptions[$correctans])[0] . '">' . $categorizations[$correctans] . '<', $templategame);
if (1 == 1) {
if (strpos($wikidesignations[$correctans], '#') !== false) {
$templategame=str_replace(' style="background-color:#f0f0f0;"', ' ', $templategame);
$templategame=str_replace('>' . $thepsource . '<', ' data-answer="' . explode(' ... ', $wikidescriptions[$correctans])[0] . '" style="background-color:#f0f0f0;background:URL(' . str_replace('http:','',explode('#', $wikidesignations[$correctans])[1]) . '); background-repeat: no-repeat; background-size: contain;background-position: center right;border:5px dashed pink;" alt="f0;">
' . explode('#', $wikidesignations[$correctans])[0] . '
<', $templategame);
} else if (1 == 1) {
$templategame=str_replace('>' . $thepsource . '<', ' data-answer="' . explode(' ... ', $wikidescriptions[$correctans])[0] . '">' . explode('#', $wikidesignations[$correctans])[0] . '<', $templategame);
} else {
$templategame=str_replace('>' . $thepsource . '<', ' data-answer=" ">' . explode('#', $wikidesignations[$correctans])[0] . '<', $templategame);
}
}
for ($i=1; $i<=9; $i++) {
if ((-1 + $i) != $correctans) {
if (3 == 7) {
$templategame=str_replace('>' . $i . '' . $categorizations[-1 + $i] . '' . $i . '' . $categorizations[-1 + $i] . '' . $i . '' . $categorizations[-1 + $i] . ' 2) {
//echo "n" . sizeof($fgds);
//exit;
//}
$templategame=str_replace(' contenteditable=', ' data-contenteditable=', $templategame);
echo str_replace('background-color:#f0f0f0;', 'background-color:#ffffbf; border-radius:5px; text-shadow:-1px 1px 1px #ff2d95; ', str_replace(' dotted green;', ' dotted green; border-radius:5px; background-color:#D7E5F0; text-shadow:-1px 1px 1px #ff2d95; text-align:center; ', str_replace(' 2em', ' 1em', str_replace('0.5rem;', '0.2rem; margin-top:-20px; text-align:center; ', str_replace('Correct answer was ', 'One answer we thought of was ', str_replace('display:NONE;', 'display:inline-block;', str_replace('', '', str_replace(' 20) { header('Location: ' . $recallit); exit; }
}
if (strpos($wikidesignations[$correctans], '#') !== false) {
$templategame=str_replace(' style="background-color:#f0f0f0;"', ' ', $templategame);
$templategame=str_replace('>' . (1 + $correctans) . '<', ' data-answer="' . explode('#', $wikidesignations[$correctans])[0] . '" style="background-color:#f0f0f0;background:URL(' . str_replace('http:','',explode('#', $wikidesignations[$correctans])[1]) . '); background-repeat: no-repeat; background-size: contain;background-position: center right;" alt="f0;">' . explode('#', $wikidesignations[$correctans])[0] . '<', $templategame);
} else if (1 == 6) {
$templategame=str_replace('>' . (1 + $correctans) . '<', ' data-answer="' . explode('#', $wikidesignations[$correctans])[0] . '">' . explode('#', $wikidesignations[$correctans])[0] . '<', $templategame);
} else {
$templategame=str_replace('>' . (1 + $correctans) . '<', ' data-answer=" ">' . explode('#', $wikidesignations[$correctans])[0] . '<', $templategame);
}
if (strpos($wikidesignations[$correctans], '#') !== false && 1 == 7) {
$templategame=str_replace('>' . $thepsource . '<', ' data-answer="' . explode('#',$wikidesignations[$correctans])[0] . '" style="background:URL(' . str_replace('http:','',explode('#', $wikidesignations[$correctans])[1]) . '); background-repeat: no-repeat; background-size: contain;background-position: center right;border:5px dashed pink;" alt="f0;">
' . $wikidescriptions[$correctans] . '
<', $templategame);
} else {
$templategame=str_replace(' style="border:5px dashed pink;background-color:#f0f0f0;"', ' ', $templategame);
$templategame=str_replace('>' . $thepsource . '<', ' style="border:5px dashed pink;background-color:#f0f0f0;" data-answer="' . explode('#', $wikidesignations[$correctans])[0] . '">' . $wikidescriptions[$correctans] . '<', $templategame);
}
for ($i=1; $i<=9; $i++) {
if ((-1 + $i) != $correctans) {
if (strpos($wikidesignations[$randlist[-1 + $i]], '#') !== false) {
$templategame=str_replace('>' . $i . '' . explode('#', $wikidesignations[$randlist[-1 + $i]])[0] . '' . $i . '' . explode('#', $wikidesignations[$randlist[-1 + $i]])[0] . ' 2) {
//echo "n" . sizeof($fgds);
//exit;
//}
$templategame=str_replace(' contenteditable=', ' data-contenteditable=', $templategame);
echo str_replace('background-color:#f0f0f0;', 'background-color:#ffffbf; border-radius:5px; text-shadow:-1px 1px 1px #ff2d95; ', str_replace(' dotted green;', ' dotted green; border-radius:5px; background-color:#D7E5F0; text-shadow:-1px 1px 1px #ff2d95; text-align:center; ', str_replace(' 2em', ' 1em', str_replace('0.5rem;', '0.2rem; margin-top:-20px; text-align:center; ', str_replace('Correct answer was ', 'One answer we thought of was ', str_replace('display:NONE;', 'display:inline-block;', str_replace('', '', str_replace(' i' . 'd="source" ', ' i' . 'd="source" translate="yes" ', str_replace(' dotted green;', ' dotted green; font-size:40px; } #source { font-size:26px; ', $templategame)))))))));
}
?>