Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 19 Online
OpenStudy (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

OpenStudy (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?

OpenStudy (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.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!