-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
35 lines (32 loc) · 903 Bytes
/
index.php
File metadata and controls
35 lines (32 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
require_once __DIR__ . '/vendor/autoload.php';
session_start();
$start = new Game();
?>
<html>
<head>
<link rel="stylesheet" href="css/materialize.min.css">
<!-- Compiled and minified JavaScript -->
<script src="js/materialize.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>Reversi v.0.1</title>
</head>
<body>
<div class="button-admin">
<form action="" method="post">
<input type="hidden" name="run">
<input type="submit" class="waves-effect waves-light btn indigo darken-2" value="New Game">
</form>
<form method="post">
<input type="hidden" name="SD">
<input type="submit" class="waves-effect waves-light btn indigo darken-1" value="Restart">
</form>
</div>
<div class="board">
<?=$start->runGame();?>
</div>
<div class="tech-inf">
<?=$start->info();?>
</div>
</body>
</html>