-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
164 lines (150 loc) · 5.5 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title> MetaBoard </title>
<link href="./css/app.css" rel="stylesheet">
<link href="./css/boards.css" rel="stylesheet">
<link href="./css/shapes.css" rel="stylesheet">
</head>
<body>
<div class="menu">
<a class="menu-item" href="#new">New game</a>
<div class="growing menu-item">🎲<span class="hidden-xs"> MetaBoard</span></div>
<a class="menu-item" href="#saved">Saved games</a>
</div>
<div class="views">
<div class="view visible" id="new">
<div class="view-body">
<a href="#catan">Catan</a>,
<a href="#chess">Chess</a>,
<a href="#go">Go</a>,
<a href="#scrabble">Scrabble</a>,
<a href="#splendor">Splendor</a>,
<a href="#terraforming-mars">Terraforming Mars</a>
</div>
</div>
<div class="view" id="catan">
<div class="view-body">
<div class="growing square">
<div class="square-body hexagon">
<div class="hexagon-horizontal board board-catan"></div>
</div>
</div>
</div>
<div class="view-menu">
<button class="menu-item">↶ undo</button>
<div class="growing menu-item">p1…</div>
<button class="menu-item">auto <span class="spin">↷</span></button>
</div>
</div>
<div class="view" id="chess">
<div class="view-body">
<div class="growing square">
<div class="square-body board board-chess">
</div>
</div>
</div>
<div class="view-menu">
<button class="menu-item">↶ undo</button>
<div class="growing menu-item"><span style="-webkit-text-stroke: 0.5px black; color: white">♞</span><span>…</span></div>
<button class="menu-item">auto <span class="spin">↷</span></button>
</div>
</div>
<div class="view" id="go">
<div class="view-body">
<div class="growing square">
<div class="square-body board board-go">
</div>
</div>
</div>
<div class="view-menu">
<button class="menu-item">↶ undo</button>
<div class="growing menu-item"><span style="-webkit-text-stroke: 1px black; color: black">⬤</span> <span>…</span></div>
<button class="menu-item">auto <span class="spin">↷</span></button>
</div>
</div>
<div class="view" id="scrabble">
<div class="view-body">
<div class="growing square">
<div class="square-body board board-scrabble">
</div>
</div>
</div>
<div class="view-menu">
<button class="menu-item">↶ undo</button>
<div class="growing menu-item" style="display:flex;flex-direction:row">
<div class="square scrabble-letter">
<div class="square-body tile">A</div>
</div>
<div class="square scrabble-letter">
<div class="square-body tile">B</div>
</div>
<div class="square scrabble-letter">
<div class="square-body tile">C</div>
</div>
<div class="square scrabble-letter">
<div class="square-body tile">D</div>
</div>
<div class="square scrabble-letter">
<div class="square-body tile">E</div>
</div>
<div class="square scrabble-letter">
<div class="square-body tile">F</div>
</div>
<div class="square scrabble-letter">
<div class="square-body tile">G</div>
</div>
</div>
<button class="menu-item">auto <span class="spin">↷</span></button>
</div>
</div>
<div class="view" id="splendor">
<div class="view-body">
<div class="growing square">
<div class="square-body board board-splendor">
<div class="splendor-decks">
<div class="splendor-nobles"></div>
<div class="splendor-cards"></div>
</div>
<div class="splendor-tokens"></div>
</div>
</div>
</div>
<div class="view-menu">
<div class="menu-item">
</div>
</div>
<div class="view-menu">
<button class="menu-item">↶ undo</button>
<div class="growing menu-item splendor-value">
<div class="value-card emerald square">
<div class="square-body">3</div>
</div>
<div class="value-token emerald square">
<div class="square-body">2</div>
</div>
</div>
<div class="growing menu-item splendor-points">0</div>
<button class="menu-item">auto <span class="spin">↷</span></button>
</div>
</div>
<div class="view" id="terraforming-mars">
</div>
<div class="view" id="saved">
<div class="view-body">
Saved games
</div>
</div>
</div>
<script src="./js/app.js"></script>
<script src="./js/catan.js"></script>
<script src="./js/chess.js"></script>
<script src="./js/go.js"></script>
<script src="./js/scrabble.js"></script>
<script src="./js/splendor.js"></script>
<script src="./js/terraforming-mars.js"></script>
</body>
</html>