doughague / torpy

A command-line arena game.
GNU General Public License v3.0
1 stars 0 forks source link

variable/array/class functions #13

Closed dday76 closed 10 years ago

dday76 commented 10 years ago

I'm still having trouble understanding the class variables and ways to use them. I don't want everything 'hardwired'. We've got w1 and w2 right now, and I'm not sure how to make a w3-4-5 and populate the parameters through user input.

So is there a way to list the objects (eg, for n=w1 to n=wmax)? Is there a way to ask the user to enter a new warrior and then create a w3 without having to say "w3"? (like maybe asking for the user to name the new object and using that user input?)

doughague commented 10 years ago

Yep, see new fork. :-)