Skip to main content
Clarified. Corrected grammar. Appropriate tag.
Source Link
Anko
  • 13.5k
  • 10
  • 56
  • 82

What are some strategies for parsing How should I parse user input in a text adventure game?

Parsing user commands in a text adventure is a spectrum from Adventure'sAdventure's simple "go north" to some mind-bogglingly diabolically clever ones in hhgttg.

Are there essays or articles that explain approaches to parsing text commands?

I seem to remember reading nice how-tos in computer magazines back in the 80's80s, but now I find almost nothing on the 'net except a very brief Wikipedia ref on wikipedia.

And howHow would you do it?

 

UPDATEUpdate: for the curious, I went with the simpliestsimplest approach possible in my Ludum Dare entry: http://www.ludumdare.com/compo/ludum-dare-23/?action=preview&uid=10313my Ludum Dare entry.

What are some strategies for parsing user input in a text adventure?

Parsing user commands in a text adventure is a spectrum from Adventure's "go north" to mind-bogglingly diabolically clever hhgttg.

Are there essays or articles that explain approaches to parsing text commands?

I seem to remember reading nice how-tos in computer magazines back in the 80's, but now I find almost nothing on the 'net except a very brief ref on wikipedia.

And how would you do it?

UPDATE: for the curious, I went with the simpliest approach possible in my Ludum Dare entry: http://www.ludumdare.com/compo/ludum-dare-23/?action=preview&uid=10313

How should I parse user input in a text adventure game?

Parsing user commands in a text adventure is a spectrum from Adventure's simple "go north" to some mind-bogglingly clever ones in hhgttg.

I seem to remember reading nice how-tos in computer magazines back in the 80s, but now I find almost nothing on the 'net except a brief Wikipedia ref.

How would you do it?

 

Update: I went with the simplest approach possible in my Ludum Dare entry.

added 171 characters in body
Source Link
Will
  • 7k
  • 4
  • 38
  • 59

Parsing user commands in a text adventure is a spectrum from Adventure's "go north" to mind-bogglingly diabolically clever hhgttg.

Are there essays or articles that explain approaches to parsing text commands?

I seem to remember reading nice how-tos in computer magazines back in the 80's, but now I find almost nothing on the 'net except a very brief ref on wikipedia.

And how would you do it?

UPDATE: for the curious, I went with the simpliest approach possible in my Ludum Dare entry: http://www.ludumdare.com/compo/ludum-dare-23/?action=preview&uid=10313

Parsing user commands in a text adventure is a spectrum from Adventure's "go north" to mind-bogglingly diabolically clever hhgttg.

Are there essays or articles that explain approaches to parsing text commands?

I seem to remember reading nice how-tos in computer magazines back in the 80's, but now I find almost nothing on the 'net except a very brief ref on wikipedia.

And how would you do it?

Parsing user commands in a text adventure is a spectrum from Adventure's "go north" to mind-bogglingly diabolically clever hhgttg.

Are there essays or articles that explain approaches to parsing text commands?

I seem to remember reading nice how-tos in computer magazines back in the 80's, but now I find almost nothing on the 'net except a very brief ref on wikipedia.

And how would you do it?

UPDATE: for the curious, I went with the simpliest approach possible in my Ludum Dare entry: http://www.ludumdare.com/compo/ludum-dare-23/?action=preview&uid=10313

Tweeted twitter.com/#!/StackGameDev/status/189271095168348161
edited tags
Link
Will
  • 7k
  • 4
  • 38
  • 59
edited title
Link
House
  • 73.5k
  • 17
  • 188
  • 276
Loading
Source Link
Will
  • 7k
  • 4
  • 38
  • 59
Loading