1. game

I want to write a word recognition routine for a game. It will pick out words in a sentence and try to make sense of them in line with the game.

new topic     » topic index » view message » categorize

2. Re: game

Finding the words would be easy... Just parse the user input, delimit words nicely, and compare that to known words that you have defined. The problem though is context. Eg, if someone said "fire" would that mean "fire all weapons", "fire the selected weapon" or maybe even "light a fire". Obviously, the order of the words would be important too, and what about variations due to ethnic backgrounds or even spelling mistakes? I'd advise to only allow limited words / very short sentences.

Rob Craig (The Euphoria inventor) had a competition years back, where the objective was to find words in a large unknown sample, like the Bible. There were a few solutions. Have a look in the Euphoria Archive.

Regards Alan

new topic     » goto parent     » topic index » view message » categorize

3. Re: game

Yup, and I came last in that one, so if you want some advice you know where to come.

(in fact I think one of my entries is still running somewhere)

Chris

new topic     » goto parent     » topic index » view message » categorize

4. Re: game

Yep, they are there :)
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=contest

Cheers,
Guillermo

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu