Console Text Based RPG Help

Just starting out? Need help? Post your questions and find answers here.
Stroggos
User
User
Posts: 12
Joined: Thu Apr 10, 2008 11:32 am
Location: Adelaide, Australia

Console Text Based RPG Help

Post by Stroggos »

I decided to make an RPG in the DOS terminal for windows and i ran into a bit of trouble. To move around my plan is to make it like the old old 80's RPGs similar to D&D for example if the player wants to got north he/she would type "north" and the same for east south west. now my problem is how can i do it?
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Post by pdwyer »

if it's local then look at the console commands section http://www.purebasic.com/documentation/ ... index.html

if it's network then it depends what you want as a desgin. Telnet, SSH, plain TCP text etc. People can decide their own clients etc
Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

Didn't someone develop a game engine for this? Maybe not in PB, but it exists!!! They released it, it was used to create ZORKII and ZORK III...
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

it is simplest parsing, shown in thousands of adventure tutorials since the 80ies...

I really don't understand the problem here.
If you are able to create a minimal map, you should be able to implement minimal movement.

then, if you perform your go-north-action as a reaction to pressing [CSRS-UP],
or as a reaction the the input of "north", is a really tiny difference.
oh... and have a nice day.
Post Reply