DEV/WEBBE/tp4/ex2/index.php

27 lines
579 B
PHP

<?php
include 'include/tictactoe.php';
?>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://unpkg.com/@picocss/pico@1.*/css/pico.min.css">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<main class="container center">
<h3>Tic Tac Toe : <?php echo "player $playerTurn turn";?></h3>
<?php
if ($message != ""){
echo "<h1>$message";
echo " <a href='?'>new game</a></h1>";
}
displayGrid($grid);
?>
</main>
</body>
</html>