Skip to content

Commit bcb0fb9

Browse files
committed
2 parents 629cbfb + 3151d59 commit bcb0fb9

File tree

2 files changed

+52
-8
lines changed

2 files changed

+52
-8
lines changed

views/form.html

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
<a href="/start"><img style="width:300px;" src="../img/menu.png" alt=""></a>
6767
</span>
6868
</div>
69+
6970
</div>
7071
<!-- source particle nya -->
7172
<script type="text/javascript" src="../particle/particles.js"></script>

views/player.html

+51-8
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,58 @@
88
<title>Ditumpuk Game</title>
99
<link rel="stylesheet" href="../css/style.css" />
1010
</head>
11+
<style>
12+
body {
13+
margin :0;
14+
padding:0;
15+
}
1116

17+
#semua{
18+
position: absolute;
19+
text-align: center;
20+
padding-top: 5%;
21+
width:100%;
22+
}
23+
24+
.img-container-2 {
25+
width:100%;
26+
display: block;
27+
28+
}
29+
30+
#particles-js{
31+
height:100vh;
32+
background: rgb(117,188,220);
33+
background: linear-gradient(90deg, rgba(117,188,220,1) 0%, rgba(214,172,163,1) 50%, rgba(192,141,255,1) 100%);
34+
}
35+
</style>
1236
<body>
13-
<div style="margin-top: 100px;">
14-
<span class="img-container-2">
15-
<a href="/game"><img style="width:300px;" src="img/single.png" alt=""></a>
16-
<a href="/multiplayer"><img style="width:300px;" src="img/multiple.png" alt=""></a>
17-
</span>
18-
<span style="margin-top: 40px;;" class="img-container-2">
19-
<a href="/start"><img style="width:300px;" src="../img/menu.png" alt=""></a>
20-
</span>
37+
<!-- menambah particle -->
38+
<div id="particles-js">
39+
<div id="semua">
40+
<div style="margin-top: 100px;">
41+
<span class="img-container-2">
42+
<a href="/game"><img style="width:300px;" src="img/single.png" alt=""></a>
43+
<a href="/multiplayer"><img style="width:300px;" src="img/multiple.png" alt=""></a>
44+
</span>
45+
<span style="margin-top: 40px;;" class="img-container-2">
46+
<a href="/start"><img style="width:300px;" src="../img/menu.png" alt=""></a>
47+
</span>
48+
</div>
2149
</div>
50+
</div>
51+
52+
<!-- source particle nya -->
53+
<script type="text/javascript" src="../particle/particles.js"></script>
54+
<script type="text/javascript" src="../particle/app.js"></script>
55+
56+
<!-- sound -->
57+
<audio autoplay>
58+
<source src= "../sound/awal.mp3" type="audio/mpeg ">
59+
</audio>
60+
<script>
61+
window.onload = function() {
62+
document.getElementById("my_audio").play();
63+
}
64+
</script>
2265
</body>

0 commit comments

Comments
 (0)