THE DAILY CONNECTIONS CHALLENGE

Play Ten Rounds for Top Score

000

You must be logged in to play and keep your score!

"; else { // verify the ubiname $ubiname=$_GET['u']; $ubiname20=str_replace(' ','%20',$ubiname); $v=@$_GET['v']; if (!verifySessionPin($ubiname,$v)) { echo "

Eh?!
Try Again"; exit; } // obtain ubiname content as needed // read profile pins and append data to $IDS array $listenerid='de:ad:de:ad:de:ad'; $url="$profilepoint?listenerID=$listenerid&types[0]=profile&wirelessNames[]=$ubiname"; $jsons=curler($url); $a = json_decode($jsons, true); //https://api.wirelessregistry.com/apis/proximal/v1/pins?wirelessNames[]=markdelete32&types[]=ubi-custom-pin-for-session&listenerID=de:ad:de:ad:de:ad // {"meta":{"count":1},"pins":[{"wirelessName":"markdelete32","data":"@S9*B7_I3~Y9","label":"It's a secret","type":"ubi-custom-pin-for-session","createdAt":"01\/22\/2016 00:11:42"}]} // Profile pins for markdelete32: Array ( [profile_data] => Array ( [0] => Array ( [wirelessName] => markdelete32 [profileDescription] => Hello World. It's Mark! // [profilePicture] => https://telmasters.com/mirror.php?i=telvisitors.com/images/mark80.jpg [profileFacebook] => https://www.facebook.com/vanity.urls // [profileTwitter] => http://twitter.com/kprobe [profileLinkedIn] => http://linkedin.com/markpkolb [profileGoogle+] => https://plus.google.com/u/0/113080489249257395983 [profilePinterest] => undefined [profileUrl] => http://mark.tel [profileEmail] => mark@canadian.me [profilePhone] => +14167264338 [registeredLatLong] => 43.9680023193/-79.4379653931 [authenticate] => Coming Soon [hardwareDefinition] => Only for Beacons [linkedName] => Only for Beacons [profileName] => No profileName linked [bleMacAddress] => Only for Beacons [profilePublicName] => username [profileTelRecords] => Only for Tel~Names ) ) ) //echo "

$url =
$jsons "; //$trace=true; if ($trace) { echo "

Profile pins for $ubiname: "; print_r($a); } //$trace=true; $p=0; $avatar=@$a['profile_data'][0]['profilePicture']; } include("connect.php"); include("funcs.php"); include("mobile.php"); include("getattribute.php"); if (isMobile()) { $WIDTH="450px"; $x=3; $y=18; echo "\n"; } else { $WIDTH="900px"; $x=9; $y=18; echo "\n"; } loadAttributes(); loadConnections(); echo ""; $G=getDirectoryList ('images/cards'); shuffle($G); $words=array(); // words on all cards $i=0; $cards=array(); foreach ($G as $g) { $RA=array(0,90,180,270); $R=$RA[rand(0,3)]; if ($i % $x == 0) echo ""; $p=strpos($g,'.'); $n=substr($g,0,$p); $a=explode('-',$n); $words[]=$a[0]; $words[]=$a[1]; $words[]=$a[2]; $words[]=$a[3]; if ($R==0) { $wt=$a[0]; $wr=$a[1]; $wb=$a[2]; $wl=$a[3]; } if ($R==90) { $wt=$a[3]; $wr=$a[0]; $wb=$a[1]; $wl=$a[2]; } if ($R==180) { $wt=$a[2]; $wr=$a[3]; $wb=$a[0]; $wl=$a[1]; } if ($R==270) { $wt=$a[1]; $wr=$a[2]; $wb=$a[3]; $wl=$a[0]; } echo "
"; //echo "$R $n $wt $wr $wb $wl
"; //echo "$wt $wr $wb $wl
"; echo ""; $g=str_replace('.jpg','',$g); // .jpg $cards[]=trim($g); $y--; $i++; if ($y==0) break; } echo "
"; echo "

"; // end of trace div $c="$n cards each with a word that relates"; if ($n==1) $c="one card with the word that most directly relates"; echo "

Select $c directly to

$attribute

"; echo "

"; echo "   "; echo "

If we missed a relationship, please enter it here."; ?>

Back to Main Page