-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (35 loc) · 1.43 KB
/
index.html
File metadata and controls
39 lines (35 loc) · 1.43 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Multiplayer Game</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.dom.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.9.0/addons/p5.sound.min.js"></script>
<script src="p5.play.js"></script>
<script src="https://www.gstatic.com/firebasejs/6.3.4/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/6.3.0/firebase-database.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyCv0A45y8yphhzbFSCshiDg3-cA8KbYSRI",
authDomain: "car-race-d1afd.firebaseapp.com",
databaseURL: "https://car-race-d1afd.firebaseio.com",
projectId: "car-race-d1afd",
storageBucket: "car-race-d1afd.appspot.com",
messagingSenderId: "1070064803050",
appId: "1:1070064803050:web:8f0cc7deb148c263920b93"
};
//Add here
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
<script src="js/Player.js"></script>
<script src="js/Form.js"></script>
<script src="js/Game.js"></script>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<script src="sketch.js"></script>
</body>
</html>