# Adventure Game

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

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

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

![Sample Chart](https://729613953-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LVVKHMnpflHwghmbdgi%2F-LkuViN_SYo0KOm8nzSL%2F-LkuaHYG8jJGnRGWkBLE%2FScreen%20Shot%202019-07-28%20at%205.59.47%20PM.png?alt=media\&token=58aefcd2-ffcc-4fa4-96ae-9006e56fa3e6)

```python
# My Name
print('Welcome to My Adventure Game!')
print('Written by me')
print('You travel back in time to a land far away.')
print('Try to survive until you can get home!')
print('Available options are in CAPITAL letters or numbers')
print('Any other options exits the program')
print('OPTIONS: LOOK around')
go = input(':: ')
if go == 'LOOK':
    print('right here')
    print('OPTIONS: crawl out LEFT or RIGHT')
    crawl = input(':: ')
    if crawl == 'LEFT':
        print('right here')
        print('You survived!')
    elif crawl == 'RIGHT':
        print('write here')
        print('You did not survive')
else:
    print('You can only do actions given')
    print('Try again')
```

## Sample Rubric

|                 | Criteria                                                                                                                                                           | Points |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------ |
| <p>1</p><p></p> | Included an appropriate title, name of yourself and a description for your program as comments and as output for the user to see at the beginning of your program. | 10     |
| 2               | Included options for your user that were complete and easy to understand.                                                                                          | 10     |
| 3               | Used correct spelling, punctuation, grammar and capitalization throughout the adventure.                                                                           | 10     |
| 4               | Included a minimum of 20 possible paths and 5 levels of nested if statements.                                                                                      | 10     |
| 5               | Used a comparison operator other than == (i.e. >, >=, <, <=, !=)                                                                                                   | 10     |
| 6               | Used a Logical operator and                                                                                                                                        | 10     |
| 7               | Used a Logical operator or                                                                                                                                         | 10     |
| 8               | Included a minimum of 1 path for survival.                                                                                                                         | 10     |
| 9               | The program runs correctly and exits if the user chooses an option that is not given. (For every if, there is an else)                                             | 10     |
| 10              | Collaborated appropriately.                                                                                                                                        | 10     |

{% embed url="<https://repl.it/@MatthewCheng1/Adventure-Game>" %}


---

# 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.pythonclassroom.com/python-projects/adventure-game-nested-if.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.
