forked from Cledersonbc/tic-tac-toe-minimax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (36 loc) · 1.34 KB
/
index.html
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
36
37
<!DOCTYPE html>
<html>
<head>
<!--
Tic Tac Toe with Minimax AI Algorithm
Author: Clederson Cruz
Year: 2017
License: GNU GENERAL PUBLIC LICENSE (GPL)
-->
<meta charset="UTF-8" />
<meta content="Clederson Cruz" name="author" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<link type="text/css" rel="stylesheet" href="web_version/style.css" />
<script type="text/javascript" src="web_version/script.js"></script>
<title>Jogo da Velha - Minimax</title>
</head>
<body>
<header>
<p>Minimax Algorithm</p>
</header>
<br />
<p id="message"></p>
<br />
<table id="tab-tic-tac-toe" cellspacing="0">
<tr><td id="00" onclick="clickedCell(this)"></td><td id="01" onclick="clickedCell(this)"></td><td id="02" onclick="clickedCell(this)"></td></tr>
<tr><td id="10" onclick="clickedCell(this)"></td><td id="11" onclick="clickedCell(this)"></td><td id="12" onclick="clickedCell(this)"></td></tr>
<tr><td id="20" onclick="clickedCell(this)"></td><td id="21" onclick="clickedCell(this)"></td><td id="22" onclick="clickedCell(this)"></td></tr>
</table>
<br><br>
<input type="button" value="Start AI" id="bnt-restart" onclick="restartBnt(this)"/>
<br />
<footer>
<p>Read more on: <a href="https://github.com/Cledersonbc/tic-tac-toe-minimax/blob/master/README.md">Github</a></p>
</footer>
</body>
</html>