Help with random generators,loops and over all code.

63fc6e6c9f1b6f7aac9142755eee427e
0
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.

A8433b04cb41dd57113740b779f61acb
0
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.