# Activity

{% embed url="<https://docs.google.com/presentation/d/1PG0ck2_wcd7H-ZP5LXpvYXsc1T93nF3U2SreJcPz7mo/edit?usp=sharing>" %}

## Adventure Game Starter Code

```python
# Story Game
# by me

def main():
    print("Welcome to my game!")
    print("By ...")
    done = False
    while not done:
        print("S - Start")
        print("Q - Quit")
        choice = input(":: ")
        if choice == "S":
            intro()
        elif choice == "Q":
            print("Thanks for playing!")
            done = True
        else:
            print("Invalid Choice")

def intro():
    print("Story Game")
    print("by me")
    print("You want to play a game with your friends")
    print("Which do you choose? Roblox or Minecraft")
    choice = input(":: ")
    if choice == "Roblox":
        roblox()
    elif choice == "Minecraft":
        minecraft()
    else:
        print("Invalid Choice")

def roblox():
    print("You decide to play Roblox!")
    # add story and choices

def minecraft():
    print("You decide to play Minecraft!")
    # add story and choices

main()
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.tomsriver.xyz/day-7/activity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
