-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a cool hover effect for my github pfp, add README
- Loading branch information
1 parent
3044688
commit bc1b50a
Showing
13 changed files
with
287 additions
and
186 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,2 +1,18 @@ | ||
# counterspell-game | ||
it's a game, made for counterspell DC | ||
# SleepWalker Quest | ||
*Made w/ ❤️ and 🐧 in the Washington, DC Counterspell hackathon* | ||
|
||
You've woken up, and something's wrong - no, everything's wrong! Your house is in disarray, your neighbors are furious at the property damage you've caused, and somehow you managed to misplace your wallet *and* keys. You've had another disasterous sleepwalking session! Can you clean up all the destruction you've wrought? Can you make things well again with your neighbors? And, most importantly, can you get some sleep medicine? Find out by playing at [sleepwalker.quest](https://sleepwalker.quest/). | ||
|
||
Made by Isaac, Hamza, Micha, and Gabrielle. | ||
I'm not sleep deprived, I promise. | ||
(help they won't let us go, they've locked the doors, they're comi- | ||
Thanks to Gus and Josh for hosting the hackathon! We really appreciate it! | ||
Shameless plug - [@hnasheralneam](https://github.com/hnasheralneam) | ||
|
||
![Screenshot](/assets/screenshot.png) | ||
|
||
|
||
## To-do - IMPORTANT | ||
make sure people actually do the stuff before it says room is clean | ||
Make sure all rooms can be completed (get key) | ||
add challenge to get item for old man, woman (give lamp to man, 3 flowers to woman - both at shop) |
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,3 @@ | ||
Not sure what everyone else did, but here are the assets I used | ||
|
||
Candy icon: https://www.megavoxels.com/wp-content/uploads/2024/07/how-to-make-pixel-art-candy-6.webp |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,67 +1,66 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Sleepwalker - A Counterspell Game</title> | ||
<link rel="stylesheet" href="styles/style.css" /> | ||
<link rel="icon" href="/assets/img/favicon.svg" /> | ||
</head> | ||
<body style="width: 100vw; height: 100vh; overflow: hidden"> | ||
<a style="font-size: 30px; margin-left: 10px; text-align: left; position: absolute; text-decoration: none; color: #0ff" href="javascript:howtoplay()">?</a> | ||
<h1 style="width: 100vw; height: 10vh; text-align: center; font-size: 7vw"> | ||
Sleepwalker | ||
</h1> | ||
|
||
<div class="shell" id="shell"> | ||
<div class="lines"></div> | ||
<div class="current-line"> | ||
<p><span class="terminal-text">[email protected]:~</span>$ </p> | ||
<input class="terminal-input" type="text" /> | ||
</div> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Sleepwalker - A Counterspell Game</title> | ||
<link rel="stylesheet" href="styles/style.css" /> | ||
<link rel="icon" href="/assets/img/favicon.svg" /> | ||
</head> | ||
|
||
<body style="width: 100vw; height: 100vh; overflow: hidden"> | ||
<a style="font-size: 30px; margin-left: 10px; text-align: left; position: absolute; text-decoration: none; color: #0ff" | ||
href="javascript:howtoplay()">?</a> | ||
<h1 style="width: 100vw; height: 10vh; text-align: center; font-size: 7vw"> | ||
Sleepwalker | ||
</h1> | ||
|
||
<div class="shell" id="shell" onclick="document.querySelector('.terminal-input').focus()"> | ||
<div class="lines"></div> | ||
<div class="current-line"> | ||
<p><span class="terminal-text">[email protected]:~</span>$ </p> | ||
<input class="terminal-input" type="text" /> | ||
</div> | ||
</div> | ||
<div class="bottom-bar"> | ||
<a href="https://hackclub.com/" target="_blank"><img class="hc-flag" | ||
src="https://assets.hackclub.com/flag-orpheus-left.svg" alt="Hack Club" /></a> | ||
<div class="dev-profile-icon"> | ||
<a href="https://github.com/isaacfonner" target="_blank"><img class="pfp" src="/assets/img/isaacfonner.png" | ||
alt="GitHub" /> | ||
</a> | ||
|
||
</div> | ||
<div class="bottom-bar"> | ||
<a href="https://hackclub.com/" target="_blank" | ||
><img | ||
class="hc-flag" | ||
src="https://assets.hackclub.com/flag-orpheus-left.svg" | ||
alt="Hack Club" | ||
/></a> | ||
<div class="dev-profile-icon"> | ||
<a href="https://github.com/isaacfonner" target="_blank" | ||
><img class="pfp" src="/assets/img/isaacfonner.png" alt="GitHub" /> | ||
</a> | ||
|
||
</div> | ||
<div class="dev-profile-icon"> | ||
<a href="https://github.com/MichaByte" target="_blank" | ||
><img class="pfp" src="/assets/img/MichaByte.jpg" alt="GitHub" /> | ||
</a> | ||
</div> | ||
<div class="dev-profile-icon"> | ||
<a href="https://github.com/hnasheralneam" target="_blank" | ||
><img class="pfp" src="/assets/img/hnasheralneam.jpg" alt="GitHub" /> | ||
</a> | ||
</div> | ||
<div class="dev-profile-icon"> | ||
<a href="https://github.com/gesutherland" target="_blank" | ||
><img class="pfp" src="/assets/img/gesutherland.jpg" alt="GitHub" /> | ||
</a> | ||
</div> | ||
<div class="counterspell-logo"> | ||
<a href="https://counterspell.hackclub.com/" target="_blank" | ||
><img | ||
src="/assets/img/counterspell.png" | ||
alt="Counterspell" | ||
/> | ||
</a> | ||
</div> | ||
<div class="dev-profile-icon"> | ||
<a href="https://github.com/MichaByte" target="_blank"><img class="pfp" src="/assets/img/MichaByte.jpg" | ||
alt="GitHub" /> | ||
</a> | ||
</div> | ||
</body> | ||
<script src="scripts/data.js"></script> | ||
<script src="scripts/inventory.js"></script> | ||
<script src="scripts/quests.js"></script> | ||
<script scr="scripts/map.js"></script> | ||
<script src="scripts/shell.js"></script> | ||
<script src="scripts/main.js"></script> | ||
</html> | ||
<div class="dev-profile-icon"> | ||
<a href="https://github.com/hnasheralneam" target="_blank"> | ||
<div class="outer-circle"> | ||
<div class="inner-circle"></div> | ||
</div> | ||
</a> | ||
</div> | ||
<div class="dev-profile-icon"> | ||
<a href="https://github.com/gesutherland" target="_blank"><img class="pfp" src="/assets/img/gesutherland.jpg" | ||
alt="GitHub" /> | ||
</a> | ||
</div> | ||
<div class="counterspell-logo"> | ||
<a href="https://counterspell.hackclub.com/" target="_blank"><img src="/assets/img/counterspell.png" | ||
alt="Counterspell" /> | ||
</a> | ||
</div> | ||
</div> | ||
</body> | ||
<script src="scripts/data.js"></script> | ||
<script src="scripts/inventory.js"></script> | ||
<script src="scripts/quests.js"></script> | ||
<script scr="scripts/map.js"></script> | ||
<script src="scripts/shell.js"></script> | ||
<script src="scripts/main.js"></script> | ||
|
||
</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
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
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 |
---|---|---|
@@ -1,12 +1,33 @@ | ||
function showMap() { | ||
function showMapDialog() { | ||
console.log("pntuhsntehsaonethusanoet") | ||
newLine("Use goto <number> to move to a location."); | ||
newLine("1. home"); | ||
newLine("2. old man's house"); | ||
newLine("3. women's house"); | ||
newLine("4. park"); // lost wallet | ||
newLine("4. park"); | ||
newLine("5. store"); | ||
} | ||
|
||
function goToPlace(number) { | ||
// | ||
switch (number) { | ||
case "1": | ||
bedroom(); | ||
break; | ||
case "2": | ||
outside(); | ||
break; | ||
case "3": | ||
activePlace = "femaleneighbor"; | ||
break; | ||
case "4": | ||
activePlace = "park"; | ||
break; | ||
case "5": | ||
activePlace = "store"; | ||
break; | ||
default: | ||
newLine("Invalid location"); | ||
return; | ||
} | ||
window[activePlace](); | ||
} |
Oops, something went wrong.