Help with random generators,loops and over all code.

odin337 101 Dec 29, 2012 at 08:30 c++ programming

So me a friend of mine are working on a text based adventure game, I how ever came in to a few snag.
1. How do we call variable that equal monsters(like int harp= Harpy,or int orc=Orc) in a random generator
2. How can we add in combat.
3. How can we add in combat in specific areas like orcs only fought in the highlands were harpys are in the low land
4. how to code better, key npc rather than if statements (if there are better ways).

1 Reply

Please log in or register to post a reply.

Reedbeta 167 Dec 29, 2012 at 08:47

Please use [ code ] … [ /code ] tags to post code in the forum, so it will maintain the formatting.