DirGames-L would be a more appropriate forum to post this, but
you should know that AI is not easy to program, and nobody is
going to be able to give you a canned script.

There are many different forms of AI.  Some are more advanced
than others, some are much harder to program than others.
The problem with simple AI is that it is fairly easy to figure
out how to make the computer play a certain way every time,
therefore you can take advantage and win every time.

Randomizing responses will end up with the computer making
stupid decisions, like retreating when it has 90% health and
the player has 10% health.

One approach is to make the computer as infallible as possible,
and then tone it down from there.  It's about as much fun to play
an unbeatable computer as it is to play one that's easy to beat.
It all comes down to ones and zeroes, though, and eventually most
AI is just going to be an advanced turing machine.  You can attempt
to get into AI that learns from its mistakes, but that is quite
an undertaking for a Director game.  :)

A good start is to do a search at google or hotbot on programming AI.

HTH,
Steven



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to