-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.html
45 lines (38 loc) · 850 Bytes
/
game.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
38
39
40
41
42
43
44
45
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="game.js"></script>
<style>
body {
margin: 0 0 0 0;
padding: 0 0 0 0;
}
#board {
width: 100%;
}
.place {
float: left;
width: 40px;
height: 40px;
cursor: pointer;
text-align: center;
vertical-align: middle;
background: #eee;
line-height: 40px;
font-size: 20px;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-o-user-select: none;
user-select: none;
}
</style>
</head>
<body>
<div id="whichPlayer">Player A</div>
<input id="n" type="text" /><button id="setN">Zet Bordlengte</button> <button id="undo" >Undo</button> <br><br>
<div id="board"></div>
</body>
</html>