-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (99 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./css/style.css">
<link href="https://fonts.googleapis.com/css?family=Bungee+Shade|Indie+Flower|Major+Mono+Display|Monoton|Krub|Shadows+Into+Light|VT323|Fredericka+the+Great|Cabin+Sketch" rel="stylesheet">
<title>Shifumi Game</title>
</head>
<body>
<div id="suprem-container" class="pic-bg">
<div class="shifumi">S H I F U M I</div>
<div class="container-general">
<div class="container-content">
<div class="who-is-speaking">IBOT:</div>
<blockquote class="message title"></blockquote>
<div class="who">
<span class="player user">You</span>
<span class="player bot">IBot</span>
</div>
<div class="game-playing">
<div class="hand-user"></div>
<div class="hand-bot"></div>
</div>
<div class="scores">
<div class="score"><span class="user-score">0</span></div> <span>-</span>
<div class="score"><span class="cpu-score">0</span></div>
</div>
<div class="weapons">
<button class="rock" type="button" name="rock" onclick="playerSelection()">rock</button>
<button class="paper" type="button" name="paper" onclick="playerSelection()">paper</button>
<button class="scissors" type="button" name="scissors" onclick="playerSelection()">scissors</button>
</div>
<button class="resetScore">Reset</button>
<section class="collapsible-container">
<div class="collapsible-block">
<input type="checkbox" name="collapseRules" id="collapseRules">
<label for="collapseRules" class="title">three simple rules</label>
<article class="rules">
<p><strong>Hello</strong> there, I am inviting you to defeat me, <strong>IBot</strong>, by playing <strong>Shifumi</strong> with me !</p>
<p>Don't know the rules Human ?! I could help with that: it is just right there, underneath: </p>
<ul>
<li><div class="hand rock emote">🤘🏼</div>Rock smashes Scissors.</li>
<li><div class="hand scissors emote">✌🏼</div>Scissors cuts the Paper.</li>
<li><div class="hand paper emote">✋🏼</div>Paper wraps the Rock.</li>
</ul>
</artticle>
</div>
<div class="collapsible-block">
<input type="checkbox" name="collapseOrigins" id="collapseOrigins">
<label for="collapseOrigins" class="title">Shifumi's Origins</label>
<article class="origins">
<ul>
<li>"Rock, Paper, Scissors" in english,</li>
<li>"Pierre, Papier (≠ Feuille), Ciseaux" in french,</li>
<li>"Jan-Ken-Pon" or "Janken!" in japanese</li>
<li>or also know as "Shifumi"</li>
</ul>
<p>is a child and an adult game.</p>
<p>Dispite the duality aspect of the game it is also played for decisional purposes: let's ask the following question:<br/> "Who's washing the dishes tonight, uh ?"<br/>
You don't want to but neither your roommate or partner, so "Who?" That's the question ! Let's settle that with the Shifumi game then!</p>
<p>The origins of this game is mainly from the Asian culture as we could imagine and appearing in the 19th, but why "Shifumi" ?<br/>
"Shifumi" actually came from "Hi-Fu-Mi", which corresponds to "hito" (one) "futa" (two) and "misu" (three) in japanese even though, in Japan the game is named Jan-Ken-Pon or Janken as mentionned earlier.<br/>
But ...( always a "but" ) according to a Xiè Zhàozhì book, the lords from the Han dynasty were playing a similar game named "shǒushìlìng".<br/>
That's it for your culture G today. Now this is your turn to play!
</p>
<div class="link">
<span class="emote">🖇</span>
<a class="shifumi-example" href="https://www.youtube.com/watch?v=eOlIKMruyUo">Comic bit</a>
</div>
</article>
</div>
<div class="collapsible-block">
<input type="checkbox" name="collapseOrigins" id="collapseResults">
<label for="collapseResults" class="title">In case you think IBot cheated!</label>
<article class="tracks">
<p>This is just in case you do think IBot cheats, you can find just bellow the tracks of our recent games.</p>
<div class="results-container">
</div>
</article>
</div>
</section>
</div>
<div class="modal-container" onclick="closeModal()">
<div class="modal-content">
<img class="feedbackhell" src="./assets/---.gif"/>
<p>You just lost 0-3 Human!</p>
</div>
</div>
</div>
</div>
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script src="./js/shifumi.js"></script>
</body>
</html>