Skip to content

finished player, room, almost done with adv - #1

Open
rrrbba wants to merge 5 commits into
masterfrom
rayven-burns
Open

rrrbba wants to merge 5 commits into
masterfrom
rayven-burns

Conversation

@rrrbba

@rrrbba rrrbba commented Feb 13, 2020

Copy link
Copy Markdown
Owner

No description provided.

@rrrbba
rrrbba requested a review from brianilles February 13, 2020 00:13

@brianilles brianilles left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work on day3

Comment thread src/adv.py Outdated
print("Welcome to adventure time!")
# Make a new player object that is currently in the 'outside' room.

Player = Player(input("Name: "), room['outside'])

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Please note that this instance may be better lower-cased. It can become hard to see what is an instance of the class and what is the class itself if the instance is capitalized like the class. player = Player... may be better.

Comment thread src/adv.py Outdated

print("Welcome", Player.name)

def action(choice):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work creating this action function. How could this be improved to be more DRY?

@brianilles brianilles left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work meeting MVP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants