delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/03/18:34:22

From: SAMSCOTTB AT aol DOT com
Message-ID: <4bd390e9.245f7d96@aol.com>
Date: Mon, 3 May 1999 18:30:46 EDT
Subject: Re: RHIDE weirdness
To: djgpp AT delorie DOT com
MIME-Version: 1.0
X-Mailer: AOL 4.0 for Windows 95 sub 10
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019