Discussion:
AI in Qbasic
(too old to reply)
r***@gmail.com
2015-07-19 06:42:23 UTC
Permalink
We load a bunch of words in a few variables and set them to randomize in case a '?' question mark is recognised...

The words will loaded like the pronouns in one variable, verbs in another.
and so on...

Then we could load a basic sentence construction patterns...

Like: if we type what is your name?
The computer will first recognise the construction and randomise the words in each variable in that pattern...(the hard part)
Batchman
2015-07-21 00:00:16 UTC
Permalink
Post by r***@gmail.com
Like: if we type what is your name?
The computer will first recognise the construction and randomise the words
in each variable in that pattern...(the hard part)
Hi,

Why not try to create a program of the `Text Adventure' style which were
very popular in the early days of computing?

You would first have to decide WHERE your adventure was going to happen and
what the users who would play the game was trying to achieve.

For example, you might decide that it was to happen in an old castle or on
some other planet in our solar system. Then you would be able to decide
which AREAS the user could move to (and from) and in some of these `areas'
you might then arrange that one (or more) objects might be available.

Points might be won for each object that the user collected.

These types of adventure normal require the user to type in commands like:
GO WEST or LOOK UP or JUMP DOWN or TAKE GOLD or DROP STONE.

Your program could contain many words which it would recognise and would
then need to have the ability to `know' which indicated objects and which
were verbs.

You could consider starting with something very simple and build it up as
you get more ideas.

It's always a good idea to draw a map of the full area where the adventure
happens so that you can add in all the objects and people that may be
encountered there.

Batchman


--- news://freenews.netfront.net/ - complaints: ***@netfront.net ---
Continue reading on narkive:
Loading...