-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (53 loc) · 1.68 KB
/
index.html
File metadata and controls
56 lines (53 loc) · 1.68 KB
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
<html>
<head><title></title>Volley Head v1.0</head>
<body style="background-image:url(./sprites/wood.jpg); background-repeat:repeat; color:#fff; font-family:Verdana; font-size:11px;" onLoad ="init();">
<center>
<div>
<p><b style="font-size:16px;">Volley Head v1.0</b></p>
<button onClick ="riparti(3);">Computer VS Computer</button>
<button onClick ="riparti(2);">Player1 VS Computer</button>
<button onClick ="riparti(0);">Player1 VS Player2</button>
<button onClick ="riparti(1);">Computer VS Player2</button>
Diifficoltà:
<button onClick ="diff(2);">Facile</button>
<button onClick ="diff(4);">Medio</button>
<button onClick ="diff(5);">Difficile</button>
</div>
<table style="width:900px; font-size:15px; color:#fff;">
<tr>
<td align="left">
<div style="width:90px;">Player 1:<div id="Player1Score" style="float:right; font-weight:bold;">0</div></div>
</td>
<td>
</td>
<td align="left">
<div style="width:90px;">Player 2<div id="Player2Score" style="float:right; font-weight:bold;">0</div></div>
</td>
</tr>
</table>
<div id="playScreen">
<canvas width="1000" height="540" id ="canvasvolley" style="background-image:url(./sprites/sfondo0.jpg); background-position:bottom; border:2px #742 outset;">
<p style="font-size:22px;">Il tuo browser non supporta HTML5</p>
</canvas>
</div>
<table style="width:900px; font-size:13px; color:#000;">
<tr>
<td align="left">
<b>A</b>: sinistra
<b>D</b>: destra
<b>W</b>: salta
</td>
<td align="center">
<b>P</b>: pausa/riparti
</td>
<td align="rigth">
<b><</b>: sinistra
<b>></b>: destra
<b>^</b>: salta
</td>
</tr>
</table>
</center>
<script type ="text/javascript" src="volleyhead.js"></script>
</body>
</html>