C Board  

Go Back   C Board > Cprogramming.com and AIHorizon.com's Artificial Intelligence Boards > General AI Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 11-20-2008, 01:04 PM   #1
Registered User
 
Swarvy's Avatar
 
Join Date: Apr 2008
Location: United Kingdom
Posts: 78
Getting started with AI

I've been reading about AI programming recently, and although I understand the idea, and the general technique, I am having a problem writing my own source code. I was wondering if anyone knows where I can find some example code I can read, so that i have something to base my own code on.
Swarvy is offline   Reply With Quote
Old 11-20-2008, 01:31 PM   #2
Crazy Fool
 
Perspective's Avatar
 
Join Date: Jan 2003
Location: Canada
Posts: 2,588
How about a little more information... AI is a rather large field. Are you trying to implement something in particular? What "general technique" are you talking about?
Perspective is offline   Reply With Quote
Old 11-20-2008, 02:50 PM   #3
Registered User
 
Swarvy's Avatar
 
Join Date: Apr 2008
Location: United Kingdom
Posts: 78
Quote:
Originally Posted by Perspective View Post
How about a little more information... AI is a rather large field. Are you trying to implement something in particular? What "general technique" are you talking about?
Sorry, my bad. I've read the tutorials on cprogramming.com and a few other places about minimax trees, and I understand the basic idea, although I must come up with an implementation of it for a tic tac toe game. After reading the tutorials, I understand the basic concept, although I'm having trouble translating that into program code, so I was thinking that if I could find some existing source code for this, then it would help me to get the ball rolling so to speak.
Swarvy is offline   Reply With Quote
Old 11-20-2008, 03:17 PM   #4
Crazy Fool
 
Perspective's Avatar
 
Join Date: Jan 2003
Location: Canada
Posts: 2,588
search these boards (the contest board in particular) for the connect 4 contest. I believe everyone posted their code and minimax was likely the basis for all of them.
Perspective is offline   Reply With Quote
Old 11-21-2008, 10:27 AM   #5
Rampaging 35 Stone Welsh
 
abachler's Avatar
 
Join Date: Apr 2007
Posts: 2,924
Well, i recommend you read Russel and Norvig (ISBN 0-13-790395-2) for an overview of AI, as for example code, a simple google search should turn up examples of any particular technique. BTW russel and norvig is a very broad overview, I think they spend something like 4 pages on minimax, out of a 1000+ pages of text, so obviously AI is a very large field. I think they spend about 20 pages on neural networks, and then of course I have books that get more specific about neural networks in general, and then neural networks for specific applications, im sure there are similar texts for minimax.
__________________
He is free, you say. Ah! That is his misfortune… These men… [have] the most terrible, the most imperious of masters, that is, need. … They must therefore find someone to hire them, or die of hunger. Is that to be free? - Simon Linguet

Last edited by abachler; 11-21-2008 at 10:35 AM.
abachler is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple space combat AI Bubba Game Programming 5 01-06-2009 12:54 AM
chess ai contest Raven Arkadon Contests Board 7 07-09-2005 06:38 AM
AI Contest Proposal MadCow257 Contests Board 4 03-13-2005 03:27 PM
Game Design Topic #1 - AI Behavior TechWins Game Programming 13 10-11-2002 10:35 AM
Technique of all board-like games? Nutshell Game Programming 28 04-24-2002 08:19 AM


All times are GMT -6. The time now is 01:26 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22