forked from ChromeGaming/GameSphere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (37 loc) · 1.04 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rabbit and Fox Game</title>
<!--
Download the game with sounds :
http://www.webchinupload.com/f/2019-01/72eb6b2550094b955db4a38b9784118d.zip
____________________________
Developed by Kalivarapubindusree
-->
</head>
<body>
<div id="points_loses">
<div id="points">Points:<span>0</span></div>
<div id="loses">Loses:<span>0/3</span></div>
</div>
<div id="startGameContainer">
<div>
<h1 onclick="startGame();document.getElementById('startGameContainer').style.display = 'none';">Start</h1>
</div>
</div>
<div id="gameOverContainer" style="display: none;">
<div>
<h2>Game over!</h2>
<p id="pointer"></p>
<a href="index.html">Play Again</a>
</div>
</div>
<audio id="rabbit" controls style="display: none;">
<source src="rabbit.mp3" type="audio/mpeg">
</audio>
<audio id="fox" controls style="display: none;">
<source src="fox.mp3" type="audio/mpeg">
</audio>
<div id="theGame">
</div>