Re: Ideas for an AI scheme

Johan Gustafsson <[email protected]>
Newsgroups gmane.games.devel.algorithms
Message-ID <[email protected]>
Hi just wanted to share how we did it for a very small project which was 
more or less a hobby project aswell, the AI was very simplistic and the 
way we chose to implement it was
also very simplistic and was based on a binary decision tree, within 
code we created a number of decision nodes, we had 2 kind of nodes, 
binary and unary. This didnt prevent
us from having multiple choices since we simply added branching nodes 
that depending on the input would branch left or right, by stringing 
them together we could create
switch like statements. The neat part about this solution was that we 
created a graphical tool that allowed us to drag & drop nodes on a blank 
sheet and create both very
simple or more complex AI brains very fast. This solution will not suit 
more advanced AI but if your game is not that demanding of the AI I can 
really encourage you to try
it out. You also get to write a simply GUI editor! It could also be very 
interesting to expand on the concept and incorporate the decision trees 
into states etc, we never took
it that far though.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
GDAlgorithms-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.