-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
48 lines (43 loc) · 1.41 KB
/
index.php
File metadata and controls
48 lines (43 loc) · 1.41 KB
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
<!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="style.css">
<link rel="icon" href="goat.jpeg">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script defer src="script.js"></script>
<title>Monthy Hall Problem</title>
<meta name="game-id" class="game-id" content="<?php echo md5(date('Y-m-d HH:ii:ss') . rand(0,100000)) ?>" >
</head>
<body>
<h1>Chose the right door to win!</h1>
<h1 id="wins"></h1>
<h1 id="loses"></h1>
<button id="door1">Door 1</button>
<button id="door2">Door 2</button>
<button id="door3">Door 3</button>
<div id="dialog1" class="dialog">
<div class="dialog-content">
<p>Here is a Goat, do you want to reconsider your choice?</p>
<button class="dialogButton"> close </button>
</div>
</div>
<div id="dialog2" class="dialog">
<div class="dialog-content">
<p>You won a Brand New Car!</p>
<button class="dialogButton" id="restart1" onclick="restartGame()">restart</button>
</div>
</div>
<div id="dialog3" class="dialog">
<div class="dialog-content">
<p>You Lost :-C. You won a goat tough :P </p>
<button class="dialogButton" onclick="restartGame()">restart</button>
</div>
</div>
<br>
<a href="stats1.php" >Distribution of Games Stats</a>
<br>
<a href="stats2.php" >Winrates</a>
</body>
</html>