P
P
Python Classroom
Ask or search…
K
Comment on page

Adventure Game

Sample Chart
# 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
1
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