-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
14 changed files
with
152,420 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html lang=""> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>p5.js example</title> | ||
<style> body {padding: 0; margin: 0;} </style> | ||
<script src="../p5.min.js"></script> | ||
<script src="../addons/p5.dom.min.js"></script> | ||
<script src="../addons/p5.sound.min.js"></script> | ||
<script src="sketch.js"></script> | ||
</head> | ||
<body> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
function setup() { | ||
// put setup code here | ||
} | ||
|
||
function draw() { | ||
// put drawing code here | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Initialize Firebase | ||
var config = { | ||
apiKey: "AIzaSyAqvF0C8CQ9mPiG_58-t8gMxqynrUnK__0", | ||
authDomain: "gift-submissions.firebaseapp.com", | ||
databaseURL: "https://gift-submissions.firebaseio.com", | ||
projectId: "gift-submissions", | ||
storageBucket: "gift-submissions.appspot.com", | ||
messagingSenderId: "329417339513" | ||
}; | ||
firebase.initializeApp(config); | ||
console.log(firebase); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<html> | ||
<head> | ||
<title>Game Time!</title> | ||
<meta name="viewport" content="user-scalable=0"> | ||
<script> | ||
//Prompt For Name | ||
let username; | ||
let usernameexist = false; | ||
let usernamearray; | ||
|
||
function userprompt(){ | ||
username = prompt("Enter Your Name : "); | ||
} | ||
userprompt(); | ||
|
||
//Authentication Setup | ||
if(username == null || username == ""){ | ||
window.location.href = "nullusername.html"; | ||
}else{ | ||
usernamearray = username.split(""); | ||
for(var s = 0; s < usernamearray.length; s++){ | ||
if(usernamearray[s] != " "){ | ||
usernameexist = true; | ||
} | ||
} | ||
} | ||
if(usernameexist == false){ | ||
window.location.href = "nullusername.html"; | ||
} | ||
</script> | ||
<script src="p5.min.js"></script> | ||
<script src="addons/p5.dom.min.js"></script> | ||
<link rel="stylesheet" href="style.css"> | ||
<script src="https://www.gstatic.com/firebasejs/5.9.2/firebase.js"></script> | ||
<script src="firewallconfig.js"></script> | ||
</head> | ||
<body> | ||
|
||
<div id="whole"> | ||
<div id="topDiv"> | ||
<div id="draw" style="font-size: 34px"> | ||
Draw Your Gift : | ||
</div> | ||
</div> | ||
<br> | ||
<div id="sketchcontainer" align="center"> | ||
<script src="sketch.js"></script> | ||
</div> | ||
|
||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<html> | ||
<title> | ||
Authentication Failed | ||
</title> | ||
<body> | ||
<h1>You Forgot To Enter Your Name. <br> | ||
<a href="index.html">Click Here</a> And Enter Your Name In Order To Access The Webpage. | ||
</h1> | ||
</body> | ||
</html> |
Oops, something went wrong.