-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
37 lines (33 loc) · 1.41 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
<!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="js/p5.play.js"></script>
<!-- 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: "AIzaSyCzEBNTClCPS7ekMOx6v7BRpNUn4WsZlV0",
authDomain: "virtual-pet-3a19a.firebaseapp.com",
projectId: "virtual-pet-3a19a",
storageBucket: "virtual-pet-3a19a.appspot.com",
messagingSenderId: "1045113240482",
appId: "1:1045113240482:web:08124fa8c22dab9d4d10fb"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
</head>
<body>
<script src="js/sketch.js"></script>
</body>
</html>