-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (29 loc) · 857 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>p2ptest</title>
<script src="https://unpkg.com/peerjs@1.3.1/dist/peerjs.min.js"></script>
<script src="/p5/p5.min.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="connSetup">
<div id="buttons" class="btn-group">
<button id="hostButton" style="width: 50%;">Host</button>
<button id="connButton" style="width: 50%;">Connect</button>
</div>
<div id="connInfos">
</div>
</div>
<div id="gameInfo">
<div id="gameData">
<div id="score"></div>
<button id ="reset">reset</button>
</div>
</div>
<script src="p2pConn.js"></script>
<script src="script.js"></script>
</body>
</html>