-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxox.html
36 lines (36 loc) · 1.26 KB
/
xox.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale = 1.0, maximum-scale=1.0, user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>X | O | X</title>
<link href="./css/app.css" media="all" rel="stylesheet" type="text/css">
<script src="./js/vue.min.js" type="text/javascript"></script>
<script src="./js/app.js" type="text/javascript"></script>
</head>
<body id="bulbul" class="background scroll">
<div id="app" class="content-wrapper">
<header class="content-header">
<div class="logo-text-block" v-on:click="reset()">
<span class="logo-text">🆇🅾🆇</span>
</div>
</header>
<div class="game-box">
<div style="width:100%;float:left;">
<div class="blocks">
<div class="block" v-for="(_square, index) in square" v-on:click="select(index)">
<div class="square">
<span>{{_square}}</span>
</div>
</div>
</div>
<div v-if="winner" class="winner-text">
<span>Winner: {{winner}}</span>
</div>
</div>
</div>
</div>
</body>
</html>