DEV/WEBBE/tp4/ex2/index.php

27 lines
579 B
PHP
Raw Permalink Normal View History

2023-09-20 12:11:33 +02:00
<?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>