Dec 27, 2013 at 10:42pm
If the dragonHP is lower than 0 why wouldn't it trigger the truth table then?
Dec 27, 2013 at 10:48pm
Think about it.
while(dragonHP > 0 || playerHP > 0);
do whatever while dragonHP is more than zero, or while playerHP is more than zero.
Dec 27, 2013 at 10:54pm
Oooooh. I see, stupid me.
How would i fix it so it i'd stop when ONE of those is less than 0?
Dec 28, 2013 at 1:29am
while (dragonHP > 0 && playerHP > 0);