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

panda + tiger + eagle without complete test #28

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

panda + tiger + eagle without complete test #28

wants to merge 3 commits into from

Conversation

lww
Copy link

@lww lww commented Mar 9, 2013

I will update tests later. For me it's very hard to think test first...

@jwo
Copy link
Member

jwo commented Mar 10, 2013

hi!

So, take a look at this Pull request -- it's telling you that the Build failed because the tests no longer pass. Rather than going back and adding tests later, you'll need to at least make the existing suite pass.

if @player_hand.value > 21
puts "Player busted!"
stand
end_status
Copy link
Member

Choose a reason for hiding this comment

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

Rather than two methods, one names "end_status" and one named "pre_status", I think you should have 1 method "status" that returns different data based on its game state

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