-
Notifications
You must be signed in to change notification settings - Fork 3
/
game.html
96 lines (87 loc) · 2.45 KB
/
game.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"/>
<title>Game select</title>
</head>
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
body{
font-family: 'Roboto', sans-serif;
}
h1 {
font-size: 30px;
}
h2 {
font-size: 25px;
}
a, button {
text-decoration: none;
color: black;
background-color: #F7B538;
padding: 20px;
border: 0;
font-size: 20px;
}
div {
display: flex;
justify-content: left;
margin-top: 20px;
}
</style>
<body>
<h1>Welcome to the cheat</h1>
<h2>Direct to the games</h2>
<div>
<a href="/market/index.html">Undercooked (1)</a>
</div>
<div>
<a href="/garden/index.html">Garden of Scent (2)</a>
</div>
<div>
<a href="/Frogger/index.html">Frogger (Water) (3)</a>
</div>
<div>
<a href="/slide/index.html">Slide (Townhall) (4)</a>
</div>
<div>
<a href="/bollwerkTower/platformer/index.html">Bollwork Tower (5)</a>
</div>
<div>
<a href="/theMUR/index.html">The M.U.R (6)</a>
</div>
<div>
<a href="/musicTemple/index.html">Music Temple (7)</a>
</div>
<div>
<a href="/horizonVertical/index.html">Horizon Vertical (8)</a>
</div>
<div>
<a href="/europeTower/index.html">Europe Tower (The End) (9)</a>
</div>
<h2>With the story without moving</h2>
<div>
<button class="launchButton">Click to launch</button>
</div>
<div>
<button class="clearButton">Clear the cheat</button>
</div>
</body>
<script>
document.querySelector('.launchButton').addEventListener('click', () => {
//create the cookie alwaysInRange
document.cookie = "alwaysInRange=true; path=/";
window.location.href = '/main/map.html';
});
document.querySelector('.clearButton').addEventListener('click', () => {
//delete the cookie alwaysInRange
document.cookie = "alwaysInRange=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
//clear the cookie text
document.cookie = "text=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
//clear the cookie numberText
document.cookie = "numberText=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;";
window.location.href = '/main/map.html';
});
</script>
</html>