1. D&D problem

------=_NextPart_000_0050_01C02FCD.E083A960
        boundary="----=_NextPart_001_0051_01C02FCD.E083A960"


------=_NextPart_001_0051_01C02FCD.E083A960
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

    I probably shouldn't have written that "livin' large" e-mail. It =
just started another mail war and I haven't gotten an answer.
C'est la vie.

Anywho, I've been working on a D&D combat simulator, #2, since I =
understand more now but I've run into a problem.=20

This problem is simply a "I've been staring at a screen full of text too =
long and I don't understand it anymore" problem.  I've attatched the =
file and PLEASE! Only help me with this one problem. I want to learn by =
doing, not by having an example, don't get me wrong I appreciate the =
previous help. But this is a text based D&D program I and should be able =
to figure it out.=20

The problem is the monster dies too quickly. In the procedure, only the =
player attacks (I'm working on the monster) but it's all messed up. =
Sorry the ex is in shambles. Big shambles. Oh and some of the text is a =
little........odd.....I got a little bored and started writing strange =
things.

Have fun!

--Thanks muchly,
--Thomas


PS. I;m trying to make this look as much like an old, old game as =
possible, like the uninspiring into "D&D combat simulator 1.0", any =
suggestions on how to make it look really old? Thanks again.


------=_NextPart_001_0051_01C02FCD.E083A960
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; I probably shouldn't =
have=20
written that "livin' large" e-mail. It just started another mail war and =
I=20
haven't gotten an answer.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>C'est la vie.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Anywho, I've been working on a D&amp;D =
combat=20
simulator, #2, since I understand more now but I've run into a problem.=20
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This problem is simply a "I've been =
staring at a=20
screen full of text too long and I don't understand it anymore" =
problem.&nbsp;=20
I've attatched the file and PLEASE! Only help me with this one problem. =
I want=20
to learn by doing, not by having an example, don't get me wrong I =
appreciate the=20
previous help. But this is a text based D&amp;D program I and should be =
able to=20
figure it out. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The problem is the monster dies too =
quickly. In the=20
procedure, only the player attacks (I'm working on the monster) but it's =
all=20
messed up. Sorry the ex is in shambles. <FONT size=3D5>Big =
</FONT>shambles. Oh and=20
some of the text is a little........odd.....I got a little bored and =
started=20
writing strange things.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Have fun!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>--Thanks muchly,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>--Thomas</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>PS. I;m trying to make this look as =
much like an=20
old, old game as possible, like the uninspiring into "D&amp;D combat =
simulator=20
1.0", any suggestions on how to make it look really old? Thanks=20
again.</FONT></DIV>
<DIV><FONT face=3DArial =
=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></FONT></DIV>

------=_NextPart_001_0051_01C02FCD.E083A960--

------=_NextPart_000_0050_01C02FCD.E083A960
        name="Dd.ex"
Content-Transfer-Encoding: quoted-printable

new topic     » topic index » view message » categorize

2. Re: D&D problem

Hi Thomas,

I looked at your program, and your original assessment was correct (ie. big
shambles).

If your problem is: "I've been staring at a screen full of text too long
and I don't understand it anymore"; and you "want to learn by doing, not by
having an example"; then I can only suggest the following:

* Rearrange your code so that it's not a "big shambles"

So far, your program is small but your code structure still leaves a bit to
be desired IMHO.  It will only get worse as your program gets more complex.
It helps to structure your code in a logical and consistent manner and put
in plenty of comments to describe what each few lines of code are trying to
accomplish.  (David Cuny offered some sound advice in this area not too
long ago.)  Also, when I find that I'm not understanding my own code, I
know it's time to take a break from it and maybe look at it another day.
If you follow my advice, you might find that your "problem" is an
obvious "doh, what was I thinking?"

Good luck,
  Brian

new topic     » goto parent     » topic index » view message » categorize

3. D&D problem

------=_NextPart_000_0007_01C0316A.5A28EDA0
        boundary="----=_NextPart_001_0008_01C0316A.5A28EDA0"


------=_NextPart_001_0008_01C0316A.5A28EDA0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,=20

    It seems the D&D program I'm working on has got a bug. Kindly look =
at it and fix just the one problem, I'm sticking to the "learn by doing" =
thing. Here's howto calculate D&D damage:

Roll a 20 sided dice.
Subtract that # from the players THAC0
If the number gotten is <=3D to the monsters Armour Class, it's a hit.
Subtract from monsters health the players damage.

Have fun and Happy Thanksgiving!

--------/\=3D=3D=3D=3D=3D=3D

-Thomas

PS. Would a Euphoria programmer be a Euphratic?



------=_NextPart_001_0008_01C0316A.5A28EDA0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all, </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; It seems the D&amp;D =
program I'm=20
working on has got a bug. Kindly look at it and fix just the one =
problem, I'm=20
sticking to the "learn by doing" thing. Here's howto calculate D&amp;D=20
damage:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Roll a 20 sided dice.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Subtract that # from the players =
THAC0</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>If the number gotten is &lt;=3D to the =
monsters=20
Armour Class, it's a hit.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Subtract from monsters health the =
players=20
damage.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Have fun and Happy =
Thanksgiving!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial =
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Thomas</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>PS. Would a Euphoria programmer be a=20
Euphratic?</FONT></DIV>
<DIV>&nbsp;</DIV>

------=_NextPart_001_0008_01C0316A.5A28EDA0--

------=_NextPart_000_0007_01C0316A.5A28EDA0
        name="Dd.ex"
Content-Transfer-Encoding: quoted-printable

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu