Search Results

Showing results 1 to 40 of 71
Search took 0.01 seconds.
Search: Posts Made By: mruane
Forum: Python Feb 18th, 2009
Replies: 2
Views: 253
Posted By mruane
Can you tell me where this unassigned global is...I looked everywhere but cannot find it.


global gold
gold = 0
global a_gold_a
a_gold_a = 15
global a_gold_b
a_gold_b = 15
global a_gold_c
Forum: Python Feb 11th, 2009
Replies: 3
Views: 310
Posted By mruane
I ask the user in my program to enter up to four types of income, with 0 filling the unused income slots. Then, the program is supposed to add up the incomes. It goes like this:

user defines...
Forum: Python Feb 8th, 2009
Replies: 8
Views: 439
Posted By mruane
No problem. I will definitely take a look at doing things that way, anything to shorted up my code, and make it more effective. The main goal is to quickly create a study partner to help me prepare...
Forum: Python Feb 8th, 2009
Replies: 8
Views: 439
Posted By mruane
Thanks for all of the advice guys, I actually put a a little of what each of you said into one method. An A+ exam is what you take to show that you have a good knowledge of how to troubleshoot...
Forum: Python Feb 6th, 2009
Replies: 8
Views: 439
Posted By mruane
I am preparing for my a+ exams, and am turning all of my notes into a test. I plan on doing this in python, of course. But, I am a little lost at what would be best. Should I create each question as...
Forum: Python Feb 4th, 2009
Replies: 3
Views: 377
Posted By mruane
No I haven't, but thanks, I will contact him!
Forum: Python Feb 3rd, 2009
Replies: 3
Views: 377
Posted By mruane
I am hoping to create a pixel based rpg game with the story depth of the elder scrolls series, with graphics similar to PixelMan 3 by pymike, (pygame.org/project/712/). If anyone is interested in...
Forum: Python Feb 3rd, 2009
Replies: 0
Views: 280
Posted By mruane
I am trying to use binascii to convert this:


town1 = """
++++++++++++++++++++++++++++++++++++
+-------------------------------------------------------------+...
Forum: Python Feb 3rd, 2009
Replies: 5
Views: 414
Posted By mruane
Thank you Ene Uran, as always, you have been a great help!
Forum: C++ Feb 2nd, 2009
Replies: 9
Views: 422
Posted By mruane
Thanks guys. I will try to get c++ for dummies. I am having trouble though, I can't even get the hello world program to work. I got it right in c#, but I get an error. I double checked my code...
Forum: Python Feb 2nd, 2009
Replies: 5
Views: 414
Posted By mruane
Thanks, I should be able to mess around with this code to make it do what I want. I appreciate the help, all of you guys!
Forum: Python Feb 1st, 2009
Replies: 5
Views: 414
Posted By mruane
I would like to use pickle() to save the stats, progress, and location of a player in my text adventure. I know that pickle() write an object to a text file, and that file can be later recalled to...
Forum: Python Feb 1st, 2009
Replies: 3
Views: 300
Posted By mruane
Woooee, that code worked, it got my dungeon created perfectly. Now, say I wanted to insert the player '@' into the middle of all this, how would I do this? I usually used the thing where I placed him...
Forum: Python Feb 1st, 2009
Replies: 3
Views: 300
Posted By mruane
Hi, I am trying to create a simple roguelike-like, a game with graphics similar to roguelikes, with a few extra twists. I am trying to create a dungeon using a list, here is the code...

background...
Forum: C++ Jan 31st, 2009
Replies: 9
Views: 422
Posted By mruane
Hi all, my name is Karim, and I am migrating from Python to C++ in order to make windows and linux based games. I am using the Visual C++ IDE, and am a complete newbie when it comes to C/C++. Python...
Forum: C# Jan 31st, 2009
Replies: 3
Views: 328
Posted By mruane
Just a few questions...

1) is C# and visual C# the same language? I downloaded the Visual C# IDE from microsoft, looking to be able to make my own programs using c#.
2) If they are the same,...
Forum: Perl Oct 21st, 2008
Replies: 4
Views: 1,689
Posted By mruane
What do you do after you install Active Perl? I just recently installed it, and did not find an IDE or anything, maybe after he installs it he will have the same problem. How would we get to the...
Forum: Perl Oct 21st, 2008
Replies: 2
Views: 707
Posted By mruane
I just downloaded ActivePerl, hoping it was some kind of IDE for perl. I run windows XP service pack 3 on this box. My Linux Box has perl already installed, but I want to use perl on my windows box...
Forum: Python Oct 21st, 2008
Replies: 10
Views: 785
Posted By mruane
Thank you, I will play around with that. I still wonder what is wroong with this code,
in prompt_market_main(),

if prompt == 'look':

doesn't function.
this is basically what it is:

def...
Forum: Python Oct 21st, 2008
Replies: 10
Views: 785
Posted By mruane
Okay, I will keep that in mind. Another problem is that after market_petoria() it should go like this:

look around:

"There is a beggar here, drinking a beer."

kill beggar:

you kill the...
Forum: Python Oct 20th, 2008
Replies: 10
Views: 785
Posted By mruane
Thank you jlm699, I will keep that in mind. I have fixed the spelling errors. The biggest concern now though is that after you type in 'done' or 'i am done', you are just in the market place. In this...
Forum: Python Oct 20th, 2008
Replies: 10
Views: 785
Posted By mruane
Thank you for the help. I will change my source code. As for the spelling errors, My 14 year old brother wrote most of the story line, and after I realized that he wasn't that good, (plus my teacher...
Forum: Python Oct 18th, 2008
Replies: 10
Views: 785
Posted By mruane
basically, after the tutorial ends (The user types in 'done' or 'i am done', the command 'kill begger' doesn't work.
The goal is to be able to kill the begger global, and when the player next views...
Forum: Python Oct 18th, 2008
Replies: 10
Views: 785
Posted By mruane
I am working on a text adventure for my cis class. Just to let you know, the code is graphic, and may be offensive to those who might be a begger LOL. Anyways, my functions do not seem to work...
Forum: Python Oct 2nd, 2008
Replies: 6
Views: 664
Posted By mruane
Okay, I fixed it a little bit. But it seems like I always lose. I set the global hp to 10, and it still lost. Is it not registering when the monster gets hit? Also, it seems like it is taking more...
Forum: Python Oct 2nd, 2008
Replies: 6
Views: 664
Posted By mruane
Okay, it still does the same thing, only this time the error log reads:
Traceback (most recent call last):
File "C:/Python25/howtofight.py", line 49, in <module>
main()
File...
Forum: Python Sep 30th, 2008
Replies: 6
Views: 664
Posted By mruane
Well, that solved one problem, now I get a loop of you hit the monster/you missed the monster/ the monster hit/missed you. It goes on for a while and the ends the program. I checked my function calls...
Forum: JavaScript / DHTML / AJAX Sep 28th, 2008
Replies: 0
Views: 854
Posted By mruane
Hey all, i am trying to write a javascript inside an html table which will create an image slideshow which fills the table with each image. Not sure how to implement this as I do not know...
Forum: Python Sep 28th, 2008
Replies: 6
Views: 664
Posted By mruane
I have decided that a text adventure would be better for me to learn from, as a visual game is confusing to me still. So, I was reading Chris O'leary's post about his text adventure game, Advent...
Forum: Python Sep 27th, 2008
Replies: 1
Views: 438
Posted By mruane
I have been looking for ways to call images and to move them around the screen, but I see many different ways exist. What is the best way to call images?
And, does it matter where the image is? If...
Forum: Python Sep 25th, 2008
Replies: 6
Views: 1,215
Posted By mruane
i do not understand pygame or how to use it.
Forum: Python Sep 25th, 2008
Replies: 6
Views: 1,215
Posted By mruane
I plan to write a detailed rogue like in python. But first, I have a few questions...
how do i get started:

how to make the screen
how to make the maps
how to make the main character move when...
Forum: Python Nov 19th, 2007
Replies: 7
Views: 842
Posted By mruane
Is there a way to make a value a global, after the user has modified it? It would be nice for me to have these two major functionalities, User Defined Charector Names, and the ability
to save the...
Forum: Python Nov 16th, 2007
Replies: 7
Views: 842
Posted By mruane
Thanks woooee. Thant helps.
Forum: Python Oct 31st, 2007
Replies: 3
Views: 1,186
Posted By mruane
I have been trying to figure out how to create a custom save script for text games and a text editor that I am working on. I was thinking I would have to have the script write to the actual program,...
Forum: Python Oct 31st, 2007
Replies: 7
Views: 842
Posted By mruane
When I execute the program (just to test my progress), it returns an infinite loop
(i think of main() or enter(). I am posting the entire source code here, maybe somebody could help me better...
Forum: Python Dec 14th, 2006
Replies: 4
Views: 2,642
Posted By mruane
that answers my first question, thanks! I actually just want to make ANY graphical game in python. I like the challenge of making an ansi game with a little more animation to it. Instead of your...
Forum: Python Dec 13th, 2006
Replies: 1
Views: 2,319
Posted By mruane
I am horribly (obssesed?) with writing a visually appealing game (simple) in python. My text adventures didn't appeal to my aufience (family), so I was looking at a tut on making a pac man clone,...
Forum: Python Dec 13th, 2006
Replies: 4
Views: 2,642
Posted By mruane
I just want to make an ANSII game, don't need to be in dos, I was actually thinking of creating my own console program for ANSII games, like having an ANSII nintendo on my computer....I really want...
Forum: Python Dec 13th, 2006
Replies: 4
Views: 2,642
Posted By mruane
I was wondering, if I wanted to attempt an ANSII dos game in Python, what would be the best way to do it? I would like to know how I would run it, i.e., would it run in the Python Interactive shell...
Showing results 1 to 40 of 71

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC