aboutsummaryrefslogtreecommitdiffstats
path: root/python/dotsandboxes/static/dotsandboxes.html
blob: d250c760cbfcb06977c261f7eae68bcedea07074 (plain) (blame)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html>
<html lang="en">
<meta charset="utf-8">
<<<<<<< HEAD
=======
<meta name="author" content="Wannes Meert">
<meta name="description" content="Dots-and-Boxes game. Part of the Machine Learning: Project course at KU Leuven (Hendrik Blockeel, Wannes Meert).">
<meta name="keywords" content="artificial intelligence,AI,machine learning,dots and boxes,KU Leuven">
>>>>>>> f6e623d... change base???
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Dots and Boxes</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="dotsandboxes.css">
</head>
<body>
	<div class="container">
		<h1>Dots and Boxes</h1>
		<div class="row">
			<div class="col-md">
				<div id="playing-area"></div>
			</div>
			<div class="col-md">
				<div class="form-group">
				<p>Size of game:</p>
				<div class="input-group">
				<div class="input-group-prepend">
				<span class="input-group-text">Rows and Columns</span>
				</div>
				<input type="number" class="form-control" id="nb-rows" value=6>
				<input type="number" class="form-control" id="nb-cols" value=6>
				</div>
				</div>
				<div class="form-group">
				<p>Players:</p>
				<div class="input-group mb-3">
				<div class="input-group-prepend"><span class="input-group-text" id="basic-addon3">Agent 1</span></div>
				<input type="text" class="form-control" id="agent1" aria-describedby="basic-addon3">
				</div>
				<div class="input-group mb-3">
				<div class="input-group-prepend"><span class="input-group-text" id="basic-addon3">Agent 2</span></div>
				<input type="text" class="form-control" id="agent2" aria-describedby="basic-addon3">
				</div>
				<p>Fill in the address where an agent can be reached using WebSockets (e.g. ws://127.0.0.1:8089).
				If a field is empty a human player is assumed.
				</p>
				<button type="button" class="btn btn-secondary" id="restart-btn">Restart game</button>
				</div>
			</div>
		</div>
<<<<<<< HEAD
=======
		<div class="footer">
		<small>&copy; <a href="https://dtai.cs.kuleuven.be">DTAI Research Group</a>, KU Leuven &mdash; <a href="https://github.com/wannesm/dotsandboxes">Source</a></small>
		</div>
>>>>>>> f6e623d... change base???
	</div>
	<script src="https://d3js.org/d3.v4.min.js"></script>
	<script src="dotsandboxes.js"></script>
</body>
</html>