-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.html
More file actions
29 lines (29 loc) · 908 Bytes
/
game.html
File metadata and controls
29 lines (29 loc) · 908 Bytes
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
<!DOCTYPE html>
<html>
<link rel="icon" href="res/kebab.png">
<title>The Kebab Game</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="game.css" />
</html>
<body>
<img id="bgimage" src="res/mr-krbqe.jpg"/>
<img id="kebap" src="res/kebab.png" width="200px" height="135px"/>
<h1 id="points">Money: 0 €</h1>
<h1 id="timer">by Dennis2008</h1>
<div class="change-food">
<button id="hideButton" onclick = showChangeFood()>Food</button>
<div id="hide">
<button class="food-button 0" onclick = changeFood(0)>
<img src="res/kebab.png"/>
</button>
<button class="food-button 1" onclick = changeFood(1)>
<img src="res/burger.png"/>
</button>
<button class="food-button 2" onclick = changeFood(2)>
<img src="res/curry.png"/>
</button>
</div>
</div>
<script src="game.js"></script>
</body>