thx again, this code is nearly doing as we want and we think to have
figured out how to change it to meet our requirments. also thx for the
tip using a heap...
should there be more problems i'll post again!
[mx]
--
http://mail.python.org/mailman/listinfo/python-list
"mx2k" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Now you enter a value by which the initiative should be increased,
> then adding reaction time to that value and then adding the result to
> reaction time. Now soring again by lowest,next,'n'th, etc. and then
> again showing th
mx2k wrote:
ah, and sorry for that 'unreadable' code, but that was our first try of
coding ever. we're working through the python documentaion right now -
and - thanks to the post by STeVe we at last now that we have to
construct a class for our purpose.
Well, you don't *have* to -- it could be don
mx2k wrote:
indeed, we're it is our combat timeline. we enter the initiative and
reaction time, it should find out the lowest then the next, then the
'n'th etc. and shouw it on the screen like
Next action 'Character Name1' at tick No 'Initiative1
2nd action 'Character Name2' at tick No 'Initia
ah, and sorry for that 'unreadable' code, but that was our first try of
coding ever. we're working through the python documentaion right now -
and - thanks to the post by STeVe we at last now that we have to
construct a class for our purpose.
Thx for any help
mx2k
--
http://mail.python.org/mailm
indeed, we're it is our combat timeline. we enter the initiative and
reaction time, it should find out the lowest then the next, then the
'n'th etc. and shouw it on the screen like
Next action 'Character Name1' at tick No 'Initiative1
2nd action 'Character Name2' at tick No 'Initiative2'
[...
mx2k wrote:
Hello @ all,
we have written a small program (code below) for our own
in-developement rpg system, which is getting values for 4
RPG-Characters and doing some calculations with it.
now we're trying hard to find out how to get it working with 'n'
Characters, so you will be asked to enter
Hello @ all,
we have written a small program (code below) for our own
in-developement rpg system, which is getting values for 4
RPG-Characters and doing some calculations with it.
now we're trying hard to find out how to get it working with 'n'
Characters, so you will be asked to enter a number a