-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjeu.html
113 lines (94 loc) · 4.47 KB
/
jeu.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
<!DOCTYPE html>
<html lang="fr">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8">
<title>Partie en cours</title>
<meta name="description" content="Kataku">
<meta name="author" content="LFB">
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
<!-- JS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/hammer.js/2.0.8/hammer.min.js"></script>
<script src="js/ktk.js"></script>
<script src="js/img.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-146443684-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-146443684-2');
</script>
<!-- Favicon
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="icon" type="image/png" href="assets/icon.png">
<link rel="apple-touch-icon" href="assets/icon192.png">
</head>
<body scroll="no" style="overflow: hidden">
<!-- Secondary Page Layout
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div class="user-interface">
<span id="modalquitter" class="modalQuit">
Retour au menu ?
<button onclick="document.body.style.transform = 'rotateY(-90deg)';
setTimeout(() => {
window.location.href = 'index.html';
}, 500);">- Oui -
</button>
<button
onclick="document.getElementById('modalquitter').style.display = 'none'; document.getElementById('board').style.opacity = 1">-
Non -</button>
</span>
<span id="modalVirus" class="modalQuit">
<span id="listeVirus">
<span id="dummyvir"></span>
</span>
<br><button
onclick="document.getElementById('modalVirus').style.display='none';document.getElementById('board').style.opacity = 1;">
- ok - </button>
</span>
<span
style="opacity:0.7; font-size: 30px; cursor: pointer; padding: 20px; outline: 0; color: #bcbcbc; mix-blend-mode: difference;"
onclick="document.getElementById('modalquitter').style.display = 'block'; document.getElementById('board').style.opacity = 0.3">▾</span>
</div>
<span id="dumb"></span>
<div class="container" id="board">
<div id="virusbadgecontainer" class="virusRemind">
</div>
<script>
let intensFinal = localStorage.getItem('intens');
let couleur_fond = "hsl(211, 25%, " + String(Math.max(60 - intensFinal * 2.2, 25)) + "%)";
if (intensFinal == "12") couleur_fond = "#523d3d";
document.getElementById('board').style.backgroundColor = 'transparent';
document.body.style.backgroundColor = couleur_fond;
document.body.style.transition = "2s ease"
var indiceVirus = 0
var deckImporte = JSON.parse(localStorage.getItem('deckJeu'))
var compteurDeck = 0
var joueurs = localStorage.getItem('lesJoueurs').split(',')
let dumber = 0;
let joueurs_retenus = {};
//La classe a ete importee du fichier ktk.js present dans le dossier JS a cote
let board = document.querySelector('#board');
let carousel = new Carousel(board);
</script>
</div>
<script>
window.history.pushState("null", "null", "/")
</script>
<!-- End Document
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
</body>
</html>