// echo '<br>'; // $hoursworked = 10; // } // $rate = 12; // // // if ($hoursworked > 40) { // $total = $hoursworked * $rate * 1.5; // } else { // $total = $hoursworked * $rate; // } // echo ($total > 0) ? 'You owe me $ ' . $total : "You're welcome"; $game_on = true; if ($game_on) { echo '<br>'; if (isset($_GET['board'])) { $squares = $_GET['board']; } else { $squares = '---------'; } $game = new game($squares); $gameon = $game->play(); } echo '<h3><a href="index.php">Restart</a></h3>'; ?> </body> </html>