Mail Archives: djgpp/1999/05/03/18:34:22
Hey im a beginner but i sorta wanna jump ahead and instead of e-mailing for
everything i needed one at a time im doing them all at once!: I want to make
a little text-adventure game. I know how to output the text to the screen and
get the user input( i use cin and cout, i dont know any other way )but first
how would get input with spaces? Such as: Kill Enemy or Get Bottle? How would
i make those actions work? How do i use random things like...you go north,
random to pick enemies or some items? How do i save the game to a dat file as
it goes along ( remembers dead enemies or picked up items, also how do i add
items to a var. like if i wanted to add a Bottle and a Box to items and then
output it)and save and load at the end(quit)?
I know this is a lot but i would really appreciate it if anyone could help?
- Raw text -