View Full Version : Testers needed for a small Python thing
May 8th, 2007, 01:07 AM
Hi, everyone :)
For school, I've done an implementation of the classic MasterMind game in Python. It is not finished yet but it's playable so I'd appreciate if some people could help me test it.
I don't give further instructions about how to run it, there's a README included and it's supposed to be as throughout as possible so if I forgot to mention something, please tell me here and I'll add it ;)
May 8th, 2007, 01:17 AM
In your functions.py at line 231 you need to change
file.write("\t<entry ranking=\"%u\">\n" % i+1)
file.write("\t<entry ranking=\'%u\'>\n" % i+1)
May 8th, 2007, 01:28 AM
Yep, someone else reported that bug, I corrected it another way though ;)
May 8th, 2007, 01:29 AM
In mmNoGui/__init__.py, on line 113, that 'e' at the end of the line should be another quotation mark.
In addition, in mmNoGui/functions.py, on line 93, you need to make the b = raw_input.. call before the while loop, as you have an undefined variable error at the end of each round in text mode.
May 8th, 2007, 02:24 AM
All those stupid little mistakes (and a few others) are corrected.
May 8th, 2007, 03:41 AM
Well, I didn't really come across anything, but I can say thank you. hehe, I love Mastermind, and I've been playing this game far too long.
May 8th, 2007, 08:21 PM
Don't know if you're interested in any more replies, but the initial "Would you like text, gui or to quit" prompt can't handle non-numeric characters - it interprets them as variables ('o' is OK, but o is not). Perhaps raw_input should be used?
May 12th, 2007, 12:54 AM
Are you sure you're talking about that prompt ? It works fine here.
Bump anyway, lots of new things added, especially to the GUI mode...
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.