-
Notifications
You must be signed in to change notification settings - Fork 3
/
game.html
108 lines (99 loc) · 3.66 KB
/
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
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
<!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">
<title>Bingo | game</title>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-firestore.js"></script>
<script src="./scripts/game.js" defer></script>
<link rel="stylesheet" href="./styles/game.min.css">
</head>
<body>
<!-- nav bar -->
<nav>
<div class="logo">
<a href="https://thisDotBingo.co">
<img src="./assets/logo.png" alt="site logo">
</a>
</div>
<div class="site-name">
<a href="https://thisDotBingo.co">
thisDot <b style="color:gray">Bingo</b>
</a>
</div>
<div class="discord-link nav-link">
<a href="https://discord.com/api/oauth2/authorize?client_id=903305647070797894&permissions=534723947584&scope=bot"
target="_blank">Discord</a>
</div>
<div class="about-link nav-link">
<a href="./about.html" target="_blank">About</a>
</div>
</nav>
<main>
<div class="game-board">
<div class="player-data">
<img src="./assets/player.png" alt="">
<div class="player-text">
<span id="current-player">Player</span>'s turn
</div>
</div>
<div class="game-row">
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
</div>
<div class="game-row">
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
</div>
<div class="game-row">
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
</div>
<div class="game-row">
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
</div>
<div class="game-row">
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
<div class="game-cell">0</div>
</div>
</div>
</main>
<div class="name-link-popup">
<div class="name-div">
<input type="text" id="name" placeholder="Enter your name">
<button id="play">Play</button>
</div>
<div class="link-copy">
<input id="link" placeholder="link here" disabled="true"></input>
<button class="link-copy-btn">Copy</button>
</div>
</div>
<div class="msg-pop">
<div class="msg-text">Hello</div>
</div>
<div class="name-link-popup win-pop">
<h1>Bingo! 🎉 <span id="winner">You</span> won!</h1>
<div class="name-div">
<button id="play" onclick=sendToHome()>Home Page </button>
</div>
</div>
</body>
</html>