The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> Python Programming
|
Need Beta Testers
Discuss Need Beta Testers in the Python Programming forum on Dev Shed. Need Beta Testers Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

March 16th, 2013, 03:10 PM
|
|
Registered User
|
|
Join Date: Mar 2013
Posts: 13
Time spent in forums: 4 h 16 m 36 sec
Reputation Power: 0
|
|
|
Need Beta Testers
Hello,
I need beta testers for this game i made. I'm currently on my mums computer and she won't let me download anything (Not even python!) so I've coded the game in notepad in hope that it would work with Python 3.3. Any feedback would be appreciated.
Link Below (Remove Spaces)
http:// pastebin. com/ gcCr27mP
Last edited by The_Python_Pro : March 16th, 2013 at 03:14 PM.
Reason: Forum messed up the code
|

March 16th, 2013, 06:02 PM
|
|
Registered User
|
|
Join Date: Feb 2013
Posts: 25
Time spent in forums: 15 h 26 m 15 sec
Reputation Power: 0
|
|
Looks like it would be cool but I don't use Python 3.x.x 
|

March 16th, 2013, 06:30 PM
|
 |
Contributing User
|
|
|
|
|
No syntax errors, but I don't have time for sleep statements.
The game plays like this:
Creators:
JORDAN DALTON
JACK HARDWICK
^C
__________________
[code] Code tags[/code] are essential for python code!
|

March 17th, 2013, 08:09 AM
|
|
Registered User
|
|
Join Date: Mar 2013
Posts: 13
Time spent in forums: 4 h 16 m 36 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by b49P23TIvg No syntax errors, but I don't have time for sleep statements.
The game plays like this:
Creators:
JORDAN DALTON
JACK HARDWICK
^C |
Thanks for the feedback,I'll change the amount of time on the sleep statements to make the game run a 'faster'.
|

March 18th, 2013, 03:49 AM
|
|
Contributing User
|
|
Join Date: Feb 2013
Posts: 138
Time spent in forums: 1 Day 11 h 39 m 41 sec
Reputation Power: 1
|
|
Quote: | Originally Posted by The_Python_Pro Hello,
I need beta testers for this game i made. I'm currently on my mums computer and she won't let me download anything (Not even python!) so I've coded the game in notepad in hope that it would work with Python 3.3. Any feedback would be appreciated.
Link Below (Remove Spaces)
http:// pastebin. com/ gcCr27mP |
Hi,
Nice game! Some feedback:
* In the shop, I can buy the Potion for 600 coins even though I only have 500 coins
* When fighting, there is no check if I have a certain weapon or not. If I choose a weapon I do not have, a message should tell me that.
* A prompt of some kind would be nice, maybe "> ". This increases the usability by telling me that I should provide input.
* If I do not enter input and hit enter, the game most often exits or crashes.
|

March 18th, 2013, 04:47 PM
|
|
Registered User
|
|
Join Date: Mar 2013
Posts: 13
Time spent in forums: 4 h 16 m 36 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by partoj Hi,
Nice game! Some feedback:
* In the shop, I can buy the Potion for 600 coins even though I only have 500 coins
* When fighting, there is no check if I have a certain weapon or not. If I choose a weapon I do not have, a message should tell me that.
* A prompt of some kind would be nice, maybe "> ". This increases the usability by telling me that I should provide input.
* If I do not enter input and hit enter, the game most often exits or crashes. |
Working on the checking system now, and for the crashing/exiting i don't know how to fix that.
OK, I have fixed the errors you have stated. If you want to try the newest version it's the same link as the other one. Thanks for the feedback.
|

March 19th, 2013, 12:59 AM
|
|
Contributing User
|
|
Join Date: Feb 2013
Posts: 138
Time spent in forums: 1 Day 11 h 39 m 41 sec
Reputation Power: 1
|
|
Quote: | Originally Posted by The_Python_Pro Working on the checking system now, and for the crashing/exiting i don't know how to fix that.
|
You need to check the input from the user to ensure that it is valid. So if the user is expected to choose '1' or '2', you'd need to loop until one of those values are chosen.
Here is a quick example which will loop until a valid input is received.
Code:
>>> accepted_input = ['1', '2']
>>> user_input = ''
>>> while user_input not in accepted_input:
... user_input = input("Choose 1 or 2: ")
...
Choose 1 or 2: 5
Choose 1 or 2: 6
Choose 1 or 2:
Choose 1 or 2: asdf
Choose 1 or 2: .--13-4-14
Choose 1 or 2: 1
|

March 19th, 2013, 01:37 PM
|
|
Registered User
|
|
Join Date: Mar 2013
Posts: 13
Time spent in forums: 4 h 16 m 36 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by partoj You need to check the input from the user to ensure that it is valid. So if the user is expected to choose '1' or '2', you'd need to loop until one of those values are chosen.
Here is a quick example which will loop until a valid input is received.
Code:
>>> accepted_input = ['1', '2']
>>> user_input = ''
>>> while user_input not in accepted_input:
... user_input = input("Choose 1 or 2: ")
...
Choose 1 or 2: 5
Choose 1 or 2: 6
Choose 1 or 2:
Choose 1 or 2: asdf
Choose 1 or 2: .--13-4-14
Choose 1 or 2: 1
|
Ah, OK i see now. Thanks, i'm going to start putting that wherever i have an option for the user.
|

March 19th, 2013, 02:22 PM
|
 |
Contributing User
|
|
|
|
|
"i'm going to start putting that wherever i have an option for the user."
No, you will encapsulate that common behavior into a function.
|

March 20th, 2013, 10:30 AM
|
|
Contributing User
|
|
Join Date: Aug 2011
Posts: 139
Time spent in forums: 2 Days 3 h 53 m 35 sec
Reputation Power: 2
|
|
|
Your mums computer??
??
|

March 20th, 2013, 11:12 AM
|
|
Registered User
|
|
Join Date: Mar 2013
Posts: 13
Time spent in forums: 4 h 16 m 36 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by b49P23TIvg "i'm going to start putting that wherever i have an option for the user."
No, you will encapsulate that common behavior into a function. |
Ah, i see, that would be easier.
|

March 20th, 2013, 11:22 AM
|
|
Registered User
|
|
Join Date: Mar 2013
Posts: 13
Time spent in forums: 4 h 16 m 36 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by WynnDeezl Your Mums Computer? |
Yes, I'm supposedly getting a computer for my birthday, until then I'm using my mums.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|