-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
46 lines (36 loc) · 1.57 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Virtual Pet-1</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>
<!--Your web app's Firebase configuration
Initialize Firebase-->
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.1.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.1.2/firebase-database.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyBXAG5MFpiUAuntlAglFmw6wl1dkcMZMOA",
authDomain: "virtual-pet-f3e79.firebaseapp.com",
databaseURL: "https://virtual-pet-f3e79-default-rtdb.firebaseio.com",
projectId: "virtual-pet-f3e79",
storageBucket: "virtual-pet-f3e79.appspot.com",
messagingSenderId: "25469606113",
appId: "1:25469606113:web:a65688aeffe7f1655c7fa0"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<script src="sketch.js"></script>
</body>
</html>