Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Andrew Nguyen

Text Adventure

This topic is 6028 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I don''t get it. How did you gods create text based games before c++? (Or OOP at that). It seems so tedious to write the string of the room desc EVERY time, create arrays that reference other arrays and so on. Heck, HOW DID YOU FARE in doing so without ->? You guys are gods if you can explain how you didn''t go crazy from writing these.

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by Andrew Nguyen
HOW DID YOU FARE in doing so without ->?

-> isn''t exclusive to C++, or OOP.

Share this post


Link to post
Share on other sites
quote:
Original post by Andrew Nguyen
I don''t get it. How did you gods create text based games before c++? (Or OOP at that). It seems so tedious to write the string of the room desc EVERY time, create arrays that reference other arrays and so on. Heck, HOW DID YOU FARE in doing so without ->?
You guys are gods if you can explain how you didn''t go crazy from writing these.


I for one, didn''t know there was a better way.

Share this post


Link to post
Share on other sites
Text based games can be made easily without C++ and data structures that you specifically described. Being creative with what you have to work with is part of the job.

Share this post


Link to post
Share on other sites
gah!! gah!! heheheheheheh :-))))
not crazy!! huh?? :-))) hehehehehe :-))) hahahahaha
AAAHHHHHH!!!!!!! oh..my!!!!
hehe:-)

;-)

I actually never completed my text adventure.
I tried to program it in commodore basic v2.0, on a C64.
But the c64 was already 10 years old then, and suddenly died.
I got an *old* pc then, but never started to program a text adventure again...


Share this post


Link to post
Share on other sites
quote:
Original post by UnshavenBastard
I actually never completed my text adventure.
I tried to program it in commodore basic v2.0, on a C64.
But the c64 was already 10 years old then, and suddenly died.
I got an *old* pc then, but never started to program a text adventure again...

10 print "You find yourself standing on a beach, standing next to a tree."
20 print "There is no one around. What shall you do?"
30 print "N S E"
40 input c
41 if c = "n" goto 100
42 if c = "s" goto 200
43 if c = "e" goto 300
45 print "Not an option. Try again."
46 goto 10
100 print "You walk to the north."
101 goto 110
110 print "There, you find a man sitting on a towel"
...

heh heh... I started doing that when I was 8.


---email--- Tok ----surf----
~The Feature Creep of the Family~

here

Share this post


Link to post
Share on other sites
For a much more slick and simple console game written in nice C++, go to
www.geocities.com/promitr/DrugWars.zip

Anywayz, i was doing that QBASIC type stuff long ago. Real neat when you''re only 7 or 8, but i tell ya, DX and OGL sure that stuff.

-----------------------------
The sad thing about artificial intelligence is that it lacks artifice and therefore intelligence.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!