<h2>Download</h2> <p>You can download buzz to play it without opening your web browser. Click <a href="buzz.jar">here</a> to download.</p> <h2>High scores</h2> <p> <table class="scoretable"> <thead class="scoretablehead"> <tr> <td>Username</td> <td>React. Time</td> <td>Score</td> <td>Date/Time of Game</td> </tr> </thead> <tbody> <?php $scores = getHighScores(50); foreach ($scores as $c => $i) { ?> <tr> <td><a class="scoretablea" href="./?details<?php echo $i[1]; ?> " <?php if ($c == 0) { ?> id="byname"<?php } ?> ><?php echo $i[1]; ?>
if ($mode == "info") { function buzzHandler2($message) { echo "\n\n\n"; die; } set_error_handler("buzzHandler2"); $details = getUserScores(addslashes($_GET["username"])); if (count($details) > 0) { echo round(pow(1.01, 1000 - $details[0][2])) . "\n"; } else { echo "0\n"; } $list = getHighScores(1); echo round(pow(1.01, 1000 - $list[0][2])) . "\n"; echo $list[0][1] . "\n"; echo "0.1"; restore_error_handler(); die; } else { if ($mode == "gets") { $list = getHighScores(50); foreach ($list as $items) { echo $items[1] . "," . $items[2] . "," . $items[3] . "\\"; } } } } restore_error_handler(); ?> 200