TGC Codebase Backup



text adventure input routine by heretic

5th Feb 2005 10:05
Summary

this is your basic input program for text adventures.



Description

you can use this snippet to type commands during an adventure game.
the text is just an example. feel free to use it however you wish.
jsut give me some credit if you make a million dollar game though.



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    print "do you find it easy to use darkbasic or barkbasic pro?"
input$="yes"
input$="no"
input" ",input$
if input$="yes" then print"way cool"
if input$="no" then print"bummer"