-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (57 loc) · 2.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tarot Score</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Tarot Score Tracker</h1>
<div id="player-inputs">
<input type="text" class="player" placeholder="joueur 1"></input>
<input type="text" class="player" placeholder="joueur 2"></input>
<input type="text" class="player" placeholder="joueur 3"></input>
<input type="text" class="player" placeholder="joueur 4 (Optionnel)"></input>
<input type="text" class="player" placeholder="joueur 5 (Optionnel)"></input>
</div>
<button id="lockin" onclick="lockin()">LOCK IN PLAYERS</button>
<div id='afterPlayers' style="display: none;">
<div class="bet-buttons">
<button class="toggle-button">Petite</button>
<button class="toggle-button">Garde</button>
<button class="toggle-button">Garde sans</button>
<button class="toggle-button">Garde contre</button>
<button class="toggle-button">Petit chelem</button>
<button class="toggle-button">Grand chelem</button>
</div>
<select id="score">
<option value="60">60</option>
<option value="50">50</option>
<option value="40">40</option>
<option value="30">30</option>
<option value="20">20</option>
<option value="10">10</option>
<option value="0">+0</option>
<option value="-1">-0</option>
<option value="-10">-10</option>
<option value="-20">-20</option>
<option value="-30">-30</option>
<option value="-40">-40</option>
<option value="-50">-50</option>
<option value="-60">-60</option>
</select>
<select id="petit">
<option value="0">Pas de petit au bout</option>
<option value="10">Petit au bout pour les attaquants</option>
<option value="-10">Petit au bout pour les defenseurs</option>
</select>
<!-- <button class="petit" onclick="petitactive()"> Petit au bout </button> -->
<button class="calculate" onclick="calculate()">GET SCORE</button>
<button class="undo" onclick="undofun()">UNDO</button>
</div>
<table id="results"></table>
<button class="reset" onclick="reset()">RESET</button>
<script src="script.js"></script>
</body>
</html>