-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (43 loc) · 1.76 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
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Hillsrion's Goban</title>
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<div id="app">
<goban :size="size" :slots="getGobanSlots" :turn-count="getTurnCount">
<div class="goban__top">
<goban-markers :count="size" :side="markersSide.x" :lettersAsMarker="lettersAsMarker"></goban-markers>
</div>
<div class="goban__bottom">
<goban-markers :count="size" :side="markersSide.y"></goban-markers>
<div class="goban__field">
<goban-slot
v-for='slot in getGobanSlots'
:x="slot.x"
:y="slot.y"
:is-fillable-by="slot.isFillableBy"
:belongs-to="slot.belongsTo"
:ko-opportunity="slot.hasKoOpportunity"
:current-player="getCurrentPlayer"
:is-filled="slot.isFilled"
:is-usable-for-strike-ko="slot.isUsableForStrikeKo"
:turn-count="getTurnCount"
:model="slot">
<div class="wrapper wrapper--relative" slot="stone-wrapper">
<stone></stone>
</div>
<div class="wrapper wrapper--hoshi" slot="hoshi-wrapper">
<div class="hoshi"></div>
</div>
</goban-slot>
</div>
</div>
</goban>
<!--<panel></panel>-->
</div>
<script type="text/javascript" src="js/build/app.js"></script>
</body>
</html>