-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathclassifica.html
56 lines (39 loc) · 1.82 KB
/
classifica.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AppleSnake-p5js</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<!--<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js"></script>
<script src="sketchSfondo.js" type="text/javascript"></script>-->
</head>
<body>
<h1 class="text-center mt-4 mb-4 fw-bold">Snake</h1>
<div id="id-score" class="text-center">
<button class="float-end btn btn-info mx-3" onclick="gameClick()">Game</button>
</div>
<div id="id-classifica" class="m-3 mt-4">
<p class="fs-3 text-center fw-bold">Classifica</p>
<p class="fs-5" style="box-sizing: border-box;">Name: <input type="text" id="name-input" style="width: 150px;" onchange="nameSave(this.value)"></p>
<p>1° <span id="pos-1"></span></p>
<p>2° <span id="pos-2"></span></p>
<p>3° <span id="pos-3"></span></p>
<p>4° <span id="pos-4"></span></p>
<p>5° <span id="pos-5"></span></p>
<p>6° <span id="pos-6"></span></p>
<p>7° <span id="pos-7"></span></p>
<p>8° <span id="pos-8"></span></p>
<p>9° <span id="pos-9"></span></p>
<p>10° <span id="pos-10"></span></p>
</div>
<br>
<br>
<div>
<b style="text-align: center;">Source code:</b>
<a href="https://github.com/filipporaciti/AppleSnake-p5js.git" target="_blank">https://github.com/filipporaciti/AppleSnake-p5js.git</a>
</div>
<script src="script.js" type="text/javascript"></script>
</body>
</html>