-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
149 lines (147 loc) · 4.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://fonts.googleapis.com/css2?family=Aboreto&family=DynaPuff&family=Goldman&family=Inconsolata&family=Lobster&family=Playfair+Display&family=Rubik+Dirt&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
<script
defer
src="https://cdn.jsdelivr.net/npm/@supabase/[email protected]/dist/umd/supabase.min.js"
></script>
<link rel="stylesheet" href="./styles/style.css" />
<title>Document</title>
</head>
<body>
<header>
<h1>Chess</h1>
<h2 id="check"></h2>
<nav>
<a href="home-page">Home</a>
<a href="auth" id="sign-out-link">Sign out</a>
<a href="">Resign</a>
</nav>
</header>
<main>
<div class="captured-pieces">
<h3>player 2 prisoners</h3>
<div class="white-captured"></div>
<h3>player 1 prisoners</h3>
<div class="black-captured"></div>
</div>
<section class="board">
<div class="row">
<button class="square" id="a8"></button>
<button class="square" id="b8"></button>
<button class="square" id="c8"></button>
<button class="square" id="d8"></button>
<button class="square" id="e8"></button>
<button class="square" id="f8"></button>
<button class="square" id="g8"></button>
<button class="square" id="h8"></button>
</div>
<div class="row">
<button class="square" id="a7"></button>
<button class="square" id="b7"></button>
<button class="square" id="c7"></button>
<button class="square" id="d7"></button>
<button class="square" id="e7"></button>
<button class="square" id="f7"></button>
<button class="square" id="g7"></button>
<button class="square" id="h7"></button>
</div>
<div class="row">
<button class="square" id="a6"></button>
<button class="square" id="b6"></button>
<button class="square" id="c6"></button>
<button class="square" id="d6"></button>
<button class="square" id="e6"></button>
<button class="square" id="f6"></button>
<button class="square" id="g6"></button>
<button class="square" id="h6"></button>
</div>
<div class="row">
<button class="square" id="a5"></button>
<button class="square" id="b5"></button>
<button class="square" id="c5"></button>
<button class="square" id="d5"></button>
<button class="square" id="e5"></button>
<button class="square" id="f5"></button>
<button class="square" id="g5"></button>
<button class="square" id="h5"></button>
</div>
<div class="row">
<button class="square" id="a4"></button>
<button class="square" id="b4"></button>
<button class="square" id="c4"></button>
<button class="square" id="d4"></button>
<button class="square" id="e4"></button>
<button class="square" id="f4"></button>
<button class="square" id="g4"></button>
<button class="square" id="h4"></button>
</div>
<div class="row">
<button class="square" id="a3"></button>
<button class="square" id="b3"></button>
<button class="square" id="c3"></button>
<button class="square" id="d3"></button>
<button class="square" id="e3"></button>
<button class="square" id="f3"></button>
<button class="square" id="g3"></button>
<button class="square" id="h3"></button>
</div>
<div class="row">
<button class="square" id="a2"></button>
<button class="square" id="b2"></button>
<button class="square" id="c2"></button>
<button class="square" id="d2"></button>
<button class="square" id="e2"></button>
<button class="square" id="f2"></button>
<button class="square" id="g2"></button>
<button class="square" id="h2"></button>
</div>
<div class="row">
<button class="square" id="a1"></button>
<button class="square" id="b1"></button>
<button class="square" id="c1"></button>
<button class="square" id="d1"></button>
<button class="square" id="e1"></button>
<button class="square" id="f1"></button>
<button class="square" id="g1"></button>
<button class="square" id="h1"></button>
</div>
</section>
<div class="table">
<div class="glass1">
<img src="./assets/scotch-removebg-preview.png" />
</div>
<div class="glass2">
<img src="./assets/cigar-ashtray-removebg-preview.png" />
</div>
</div>
</main>
<div class="save-container">
<audio
id="music"
src="./assets/New York Jazz Lounge - Bar Jazz Classics.mp3"
autoplay="true"
controls
>
<embed
src="./assets/New York Jazz Lounge - Bar Jazz Classics.mp3"
loop="true"
autostart="true"
width="2"
height="0"
VOLUME=".25"
/>
</audio>
<button id="save-game-btn" class="save-game-btn">Save Game</button>
</div>
<script type="module" src="app.js"></script>
</body>
</html>