Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull request for Episode 7: Eagle Level #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Pull request for Episode 7: Eagle Level #6

wants to merge 2 commits into from

Conversation

moserrya
Copy link

@moserrya moserrya commented Jan 7, 2013

No description provided.

@@ -12,4 +12,20 @@ def schedule_city(city)
def route
CalculatesRoute.calculate(cities)
end

def start_city(fail_count = 0)
Copy link
Member

Choose a reason for hiding this comment

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

nice use of a fail_count and recursion!

@jwo
Copy link
Member

jwo commented Jan 7, 2013

I like what you did here, especially with the recursion. the start_city method began to get a little long, but other than that, I think it's great

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