Learning AI Help


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Learning AI Help

  1. #1
    Join Date
    Jan 2009
    Posts
    8

    Learning AI Help

    I have been curious on how this would be done, and want to give it a try. I need help on how I would go about actually making it learn. Does it need to write its own code and such, or can it just save as a text file and read it or something like that. For now i just want an ai to make one of those talking bots, then maybe make a game where it will remember and implement strategies that i use in games. Such as if i make a game such as chess it could remember strategies and can defend or use strategies that i use after. Always wanted to give it a try but never could think of a way to save and use the info the saving text files was, the only thing i could come up with but havnt tried yet.

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Jan 2009
    Posts
    8
    Thank you very helpful.

  4. #4
    Join Date
    Dec 2004
    Location
    San Bernardino County, California
    Posts
    1,468
    Rather than saving text files to use in the AI portion of the game engine, why not use a representation of the game board with location of pieces? The brute force play with this would be to run each possible move from the given position on the current board, perhaps two or three exchanges of moves, to determine which one leads to the best projected result two or three sets of moves from now. There are several AI methods used for this - Min/Max being the source of many of them.

    See http://ai-depot.com/articles/minimax-explained/

Similar Threads

  1. Learning OO programming from scratch.
    By Mark Alexander Bertenshaw in forum .NET
    Replies: 24
    Last Post: 08-14-2002, 10:48 AM
  2. Learning is never a waste of time
    By Nick in forum Talk to the Editors
    Replies: 6
    Last Post: 11-21-2001, 01:50 AM
  3. VB - Learning Edition/Enterprise Edition
    By Nivelimac in forum VB Classic
    Replies: 0
    Last Post: 11-17-2000, 03:08 PM
  4. Learning Java...
    By Jason J. in forum Java
    Replies: 0
    Last Post: 06-28-2000, 09:57 AM
  5. ADO in Learning Edition
    By T. Adcock in forum VB Classic
    Replies: 2
    Last Post: 03-21-2000, 08:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center