Re: Two questions about style and some simple math

2009-01-20 Thread Rhodri James
On Tue, 20 Jan 2009 02:11:24 -, Mensanator wrote: On Jan 19, 7:44 pm, "Rhodri James" wrote: Surely in any case you don't want an expression based on the difference, since that would give you the same chance of having the first attack no matter what the levels of courage actually were, whi

Re: Two questions about style and some simple math

2009-01-20 Thread J Kenneth King
Spoofy writes: > .. .. > > 2. > > For maintaining the character attributes I creates a seperate class. I > wonder weather this is an "overuse" of OO (instead of just making the > attributes plain variables of the Char class) and if the way I wrote > this is OK (somehow this looks cool to me but

Re: Two questions about style and some simple math

2009-01-19 Thread John Machin
On Jan 20, 12:15 pm, Spoofy wrote: > Hello everybody! > > Though I'm a hobby programmer for years now (mainly small hackery > things) I still have big problems getting "real" things to work. > > I'm currently trying to write a simple RPG and have problems with > the following: > > 1. > > Character

Re: Two questions about style and some simple math

2009-01-19 Thread Mensanator
On Jan 19, 7:44 pm, "Rhodri James" wrote: > On Tue, 20 Jan 2009 01:15:47 -, Spoofy wrote: > > Hello everybody! > > > Though I'm a hobby programmer for years now (mainly small hackery   > > things) I still have big problems getting "real" things to work. > > > I'm currently trying to write a s

Re: Two questions about style and some simple math

2009-01-19 Thread MRAB
Spoofy wrote: Hello everybody! Though I'm a hobby programmer for years now (mainly small hackery things) I still have big problems getting "real" things to work. I'm currently trying to write a simple RPG and have problems with the following: 1. Characters have a "courage" attribute that

Re: Two questions about style and some simple math

2009-01-19 Thread Rhodri James
On Tue, 20 Jan 2009 01:15:47 -, Spoofy wrote: Hello everybody! Though I'm a hobby programmer for years now (mainly small hackery things) I still have big problems getting "real" things to work. I'm currently trying to write a simple RPG and have problems with the following: 1. Cha