Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~6K People Reached
About Me

Well, I like to program. I am just learning Python, my first high-level programming language. I already know html and quite abit of javascript, though I no longer use them.
I one day want to start a freelance programming business.

Interests
Programming, hopefully for a living someday.
PC Specs
Windows 98
Favorite Tags
Member Avatar for mruane

Okay, I am writing a dopewars clone/wannabe in python. I have it pretty much the way I want it, except that selling items does not work. Buying them does fine, it is just selling them. Here is the code: [code] #!/usr/bin/env python # # pimp.py # # @authors: KarimRuan, # …

Member Avatar for mruane
0
145
Member Avatar for Mouche

This is a split from another thread. I'm trying to think of a good way to simulate action other than just a hit/miss list. I want more complicated results andalso so that the character doesn't always die... Hmmm... okay. So I think I would do it like this: my_str = …

Member Avatar for python user
0
261
Member Avatar for mruane

Can you tell me where this unassigned global is...I looked everywhere but cannot find it. [code=python] global gold gold = 0 global a_gold_a a_gold_a = 15 global a_gold_b a_gold_b = 15 global a_gold_c a_gold_c = 20 global room1_done room1_done = 0 def prompt_main(): global a_gold_a, a_gold_b, a_gold_c, room1_done x = …

Member Avatar for vegaseat
0
89
Member Avatar for 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 values for incomes 1, 2, 3 and 4. Program adds together the …

Member Avatar for gbrokaw
0
99
Member Avatar for 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 a specific function, calling the next question …

Member Avatar for mruane
0
144
Member Avatar for 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 helping, let me know! I am a basic level python programmer, so am using this project as …

Member Avatar for mruane
0
84
Member Avatar for mruane

I am trying to use binascii to convert this: [code=python] town1 = """ ++++++++++++++++++++++++++++++++++++ +-------------------------------------------------------------+ +----------H-----------H----------H---------H--------------+ +----------&---------------&---------------------------------+ +------------------------------------------------------------>+ +----------------@-------------------------------------------+ ++++++++++++++++++++++++++++++++++++ """ [/code] into the type of graphics used in PyMike's PixelMan 3, found at pygame.org. I looked at the document on python.org telling about binascii and a little bit about …

0
105
Member Avatar for 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 load the information. My curiosity is, would I be able to …

Member Avatar for mruane
0
288
Member Avatar for 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 is so overly simplified that it does not provide …

Member Avatar for Stefano Mtangoo
0
158
Member Avatar for 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... [code=python] background = ['#', '#', '#', '#', '#', '#', '#', '#', '#' /n/ '#', '.', …

Member Avatar for mruane
0
63
Member Avatar for 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, where do I find tutorials to learn to use the language? 3) …

Member Avatar for LizR
0
95
Member Avatar for 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 as well. I know nothing about perl, so do I …

Member Avatar for orko
0
133
Member Avatar for it2051229

Hello, i'm interested on learning the PERL language and I do not have any idea on the installation and what really PERL does although i've made research but still confused. Is PERL for the WEB like PHP? or it is like C for creating executable applications?.. I have E-books of …

Member Avatar for KevinADC
0
174
Member Avatar for 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 properly. I looked over them, they seem fine. where am …

Member Avatar for mruane
0
194
Member Avatar for 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 House, and got many ideas from there. I want to perfect his battle …

Member Avatar for Gribouillis
0
182
Member Avatar for 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 javascript. Could this be done in plain HTML without loading another page? Any …

0
54
Member Avatar for 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 the images filepath is usr/bin/local/sprite_fantasy will that affect how I …

Member Avatar for vegaseat
0
70
Member Avatar for 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 you press a key how to make it saveable if …

Member Avatar for Freaky_Chris
0
201
Member Avatar for mruane

I intend on creating, or at least simulating, Artificial Intelligence in a birthday gift I am making in python. The basic package is planned to be a multi-purposed program mostly concerned with entertaining. I am attempting to create Sally, the programs 'brain' if you will. Basic Idea came from the …

Member Avatar for Alonechild101
0
143
Member Avatar for mruane

I am not sure how to word this question. If I am defining function() to be a user input prompt, does the [code] name_of_prompt = raw_input("") [/code] name of prompt equal the name of fucntion or could it be prompt_funct1? If so, when using if...elif statements to call on other …

Member Avatar for slate
0
293
Member Avatar for 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 organize it. In hte future, I would like to add a save feature. This is …

Member Avatar for woooee
0
81
Member Avatar for 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, unless I had an extra file just for saves. …

Member Avatar for jrcagle
0
82
Member Avatar for 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, supposed to be line by line, it seemes choppy. Any ways, here is the code. …

Member Avatar for vegaseat
0
625
Member Avatar for 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 or could a make it run in dos? …

Member Avatar for mruane
0
245
Member Avatar for mruane

Well, I actually succesfully completed my first complete program in python, and I didn't use the forum for help, I stuck it out and figured it out on my own. After spending about two and a half hours getting all these make shifts loops right, I feel pretty darn good …

Member Avatar for Mouche
0
109
Member Avatar for mruane

When using the Py2exe program snippet given in [URL="http://www.daniweb.com/code/snippet499.html"][COLOR=#800080]http://www.daniweb.com/code/snippet499.html[/COLOR][/URL] I get the following error message: Traceback (most recent call last): File "C:/Python24/hate me/p2e_test1.pyw", line 29, in -toplevel- console = [{"script": 'hateme2.pyw'}] ) File "C:\PYTHON24\lib\distutils\core.py", line 166, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\PYTHON24\PYTHONW.EXE' failed with …

Member Avatar for mruane
0
145
Member Avatar for mruane

My fiance is having a birthday in less than 20 days. I am therefore trying to create a program for her (trust me, it is not intended to be the only gift) to play around with, and hopefully enjoy. The only problem I am having so far, is that when …

Member Avatar for Mouche
0
277
Member Avatar for mruane

I am trying Vegaseat's suggestion in one of my threads to use shuffled lists for combat in my text adventure. He suggested creating two lists, myhit_list[1, 0, 2, 0, 3, 0, 0, 1] and monsterhit_list[1, 0, 2, 0, 3, 0, 0, 1] and using random.shuffle(myhit_list) and random.shuffle(monsterhit_list) iterated with "I …

Member Avatar for vegaseat
0
109
Member Avatar for mruane

Okay, I just learned that in order to call a program I made in python, say, myfile.pyw, into a seperate program (say, other.pyw) I would use [code]execfile('myfile.pyw')[/code] instead of [code]import myfile.pyw[/code]. I did that, and get one of those ever so helpful traceback errors saying that 'start', the user input …

Member Avatar for Ene Uran
0
118
Member Avatar for mruane

Hey, I am trying to create my text adventure geared towards all of the frequent posters on daniweb's python forum, just alittle something to have fun with. But, it isn't going as planned. I used vegaseat's suggestion for combat, shuffling lists randomly to randomize hit/miss results. I think I did …

Member Avatar for Mouche
0
116