Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
Adding grader and media files.
Browse files Browse the repository at this point in the history
  • Loading branch information
dluman committed Jun 23, 2024
1 parent 2ed1d58 commit 9f06702
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .checkitems
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import os
import requests

def search_for_item(self, item_name: str = "Automaton") -> bool:
response = requests.post(
f"{os.getenv('API_URL')}:{os.getenv('API_PORT')}/v1/inventory/search/",
data={
"charname": os.getenv('GITHUB_USER'),
"item_name": item_name
}
)
return response.status_code

items = ["Shovel", "Mechanism", "GlowingOrb"]

for item in items:
response = search_for_item(item)
print(f"{item}: {response}")
38 changes: 38 additions & 0 deletions .gatorgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
- entrance/mists/GlowingOrb.py:
- description: "You unearthed the GlowingOrb"
check: ConfirmFileExists
- entrance/mists/Mechanism.py:
- description: "You unearthed the Mechanism"
check: ConfirmFileExists
- entrance/mists/.cache/.flavor:
- description: "You dug the cache to store extra items"
check: ConfirmFileExists
- description: You overcame the Termites with the automaton
check: MatchCommandFragment
options:
fragment: "null"
count: 0
exact: true
command: jq .asked .flags
- description: You picked up the Shovel
check: MatchCommandFragment
options:
fragment: "Shovel: 200"
count: 1
exact: true
command: python .checkitems
- description: You picked up the GlowingOrb
check: MatchCommandFragment
options:
fragment: "GlowingOrb: 200"
count: 1
exact: true
command: python .checkitems
- description: You picked up the Mechanism
check: MatchCommandFragment
options:
fragment: "Mechanism: 200"
count: 1
exact: true
command: python .checkitems

Binary file added .media/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 40 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,40 @@
# venture-narrascope-demo
Demo repository for Narrascope 2024 presentation.
# Your first journey

> Welcome to the dungeon, we've got toys and games.
> - Somebody Loud
![Map graphic detailing the path to an unknown X](.media/image.png)

## Summary

You're about to begin the adventure of a thousand steps with just one...`cd`? In our journey,
we use different commands to walk around the world presented to us. In this short excursion,
we'll learn a few of these including:

### For movement

> - `cd`
### To interact
> - `look`
> - `talk`
### To get and receive _things_
> - `inventory`
> - `get`
> - `use`
> - `info`
> - `give`
Each of these will give us abilities that help us negotiate the terrain around us
or...just do _stuff_? Whether that stuff is important to you or not is something
you'll have to figure out. There's a surprising lot to do with the list of commands
above.

### About this adventure

This particular adventure starts and ends in a dungeon that wasn't there yesterday. Surprising
to be sure, but also _exciting_! What wonders lurk there? What challenges do you have to solve?
What friends and allies will you meet?

This is the start of your time in `_Venture_`; go forth traveler, and explore!

0 comments on commit 9f06702

Please sign in to comment.