anonymous
  • anonymous
really stuck at ps6, problem#3. play_game function doesn't work properly, example of screen: Current Hand: a g k l o n r It took 2.40 seconds to provide an answer ' kalong ' earned 4.59 points. Current Score: 4.59 Current hand: r Enter n to deal a new hand, r to replay the last hand, or e to end game: (it never finished the hand), but when I run play_hand(same argmts): Current Hand: a g k l o n r It took 2.33 seconds to provide an answer ' kalong ' earned 4.71 points. Current Score: 4.71 Current hand: r '"." received. Game over. Total Score: 4.71' code: http://codepad.org/3YET4y4X
MIT 6.00 Intro Computer Science (OCW)
chestercat
  • chestercat
See more answers at brainly.com
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions

anonymous
  • anonymous
basically, when play_hand is called via play_game it doesn't work properly since after finishing the first word will exit the function as if it had ended the game; but when play_hand is called directly it runs as expected. Any ideas?
anonymous
  • anonymous
I deleted and reposted the question 'cos code wasn't working and don't know how to edit question. Bcwo made me realize it, txs.

Looking for something else?

Not the answer you are looking for? Search for more explanations.