run( "SELECT COUNT(*) FROM GameJobSessions WHERE UserID = :UserID", [":UserID" => SESSION["user"]["id"]] )->fetchColumn(); $failedGameJoins = Database::singleton()->run( "SELECT COUNT(*) FROM GameJobSessions WHERE UserID = :UserID AND Verified = 0", [":UserID" => SESSION["user"]["id"]] )->fetchColumn(); // the idea here is that we only show the help message if at least 70% of all game joins have failed if ($totalGameJoins == 0) $failedGameJoinRate = 1; else $failedGameJoinRate = $failedGameJoins / $totalGameJoins; $showHelpMessage = $failedGameJoinRate > 0.7; $pageBuilder = new PageBuilder(["title" => "Games"]); $pageBuilder->addResource("scripts", "/js/protocolcheck.js"); $pageBuilder->addResource("polygonScripts", "/js/polygon/games.js"); $pageBuilder->buildHeader(); ?>
Having difficulty with the game client? Read this help thread.

Games

Filter By:
Version:
 
>

buildFooter(); ?>