Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 12 Online
OpenStudy (anonymous):

Anyone noticed a bug in PS3 solutions? when you try to run ps3b and ask a computer to play the game, he fails to find a valid word and simply displays its hand every 15-20 seconds or so.

OpenStudy (anonymous):

yeah, seems there is just a small bug in the solution. notice the function comp_play_hand, if you indent( ctrl+] ) the 'else' part, everything works well

OpenStudy (anonymous):

The program runs OK for me except I have to add the definition for HAND_SIZE in ps3b again. Not sure why only that is not imported from ps3a. The "get_perms" function seems to take a long time to finish if the HAND_SIZE is large. You can guess how many permutations from lengths 1 to 20.

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!
Latest Questions
Arriyanalol: i need help
1 day ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
1 day ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
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!