-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
71 lines (71 loc) · 2.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
<title>UNO Card Game</title>
</head>
<body>
<div class='cpu-box'>
<div class='cpu-hand'>
<img src="images/back.png" alt="">
<img src="images/back.png" alt="">
<img src="images/back.png" alt="">
<img src="images/back.png" alt="">
<img src="images/back.png" alt="">
<img src="images/back.png" alt="">
<img src="images/back.png" alt="">
</div>
<div class='cpu-animation hidden'>
<img id='cpu-uno' src="images/uno!.png" alt="">
</div>
</div>
<div class='play-area'>
<div class='score'>
<p class='cpu-score-title'>ROBO: <span id='cpu-score'>249</span></p>
<div id='seperator'></div>
<p class='player-score-title'>PLAYER: <span id='player-score'>67</span></p>
<p class='rules'>The first player to reach 100 points, will lose the game</p>
</div>
<div class='play-pile'>
<img src="images/blue2.png" alt="">
</div>
<div class='draw-pile'>
<img src="images/back.png" alt="">
</div>
<img id="draw-card" class='hidden' src="images/back.png" alt="">
</div>
<div class='end-of-round hidden'>
<p class='round'>X won the round!</p>
</div>
<div class='end-of-game hidden'>
<p class='game'>X won the game!</p>
<button class='play-again'>Again!</button>
</div>
<div class='player-box'>
<div class='player-hand'>
<img src="images/blue9.png" alt="">
<!-- <img src="images/wild14.png" alt="">
<img src="images/red1.png" alt="">
<img src="images/green3.png" alt="">
<img src="images/blue0.png" alt="">
<img src="images/red10.png" alt="">
<img src="images/yellow11.png" alt=""> -->
</div>
<div class='player-animation hidden'>
<img id='player-uno' src="images/uno!.png" alt="">
</div>
</div>
<div class='color-picker'>
<p>Select a color:</p>
<div>
<button class='red'>Red</button>
<button class='green'>Green</button>
<button class='blue'>Blue</button>
<button class='yellow'>Yellow</button>
</div>
</div>
<script src="js/app.js"></script>
</body>
</html>