Welcome Guest ( Log In | Register )



2 Pages V   1 2 >  
Reply to this topicStart new topic
> Need Help - Artificial Inteligence, i want to learn more...
kenobi
post Sep 7 2005, 11:16 AM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 3
Joined: 7-September 05
From: Slovakia
Member No.: 8,355



hello, i am a student of informatics and i would like to learn more about programming artificial inteligence. The truth is I am new to this and know only very little about it. But I want to learn something new and this seems to be very interesting. I am mostly interested on the creation of genetic algorithms. I would be very thankfull if someone more experienced would give me some advice on where to start, for example links to pages with some tutorials or online books on that subject. thanks
Go to the top of the page
 
+Quote Post
CaptainRon
post Sep 9 2005, 06:29 PM
Post #2


Premium Member
Group Icon

Group: Members
Posts: 238
Joined: 9-September 05
Member No.: 8,400



QUOTE(kenobi @ Sep 7 2005, 04:46 PM)
hello, i am a student of informatics and i would like to learn more about programming artificial inteligence. The truth is I am new to this and know only very little about it. But I want to learn something new and this seems to be very interesting. I am mostly interested on the creation of genetic algorithms. I would be very thankfull if someone more experienced would give me some advice on where to start, for example links to pages with some tutorials or online books on that subject. thanks
*


hi,

see i too am new to AI, but what i have learnt from others is, DO NOT FOLLOW ANY RULE while writing AI Progs. What everything depends on is the type of AI program u are wrtiting. Even a smart adaptable Tic-Tac-Toe program can be AI. Games like Chess etc have always been fields of AI. Let me suggest u something. Get a good book (ebook or real book) and study it to get an overview of what exactly AI means and learn some classical problems of AI. Other wise you might end up re-inventing the wheel, which elsewise u wudda known in the second chapter of the book itself.

Go to this site for finding more relevant information and people who can help u out.
www.ai-depot.com

I am making a smart language analyser based AI-Agent. Hopefully it will be really helpful to people.
Go to the top of the page
 
+Quote Post
yordan
post Sep 9 2005, 08:32 PM
Post #3


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 2,242
Joined: 16-August 05
Member No.: 7,896
myCENTs:56.55



I am convinced Artificial intelligence still has lots to do with "Le Lisp" or "commont lisp". Have a look here http://computing-dictionary.thefreedictionary.com/Le-Lisp as a startpoint for the Chailloux history.
Basically there a two types of artifical intelligence :
- the "Le Lisp" way, where the system you create is able learning by it self.
- the Prolog way, where the developer's logical shemes are directly injected in his thinking machine.
Both of them work with rules and knowledge database, the systems feeding their knowledge database and the rules guiding the way of making the final choices.
Go to the top of the page
 
+Quote Post
qwijibow
post Sep 27 2005, 05:22 PM
Post #4


Way Out Of Control - You need a life :)
Group Icon

Group: Members
Posts: 1,366
Joined: 14-September 04
From: Nottingham England
Member No.: 570



Introdiction to AI http://www.cs.nott.ac.uk/~gxk/courses/g5aiai/index.html
AI Methods http://www.cs.nott.ac.uk/~gxk/courses/g5baim/index.html

Here are the methods i know of...

Prolog: a logical porgramming language, nothing special.

Searches: (used as computer players in games such as chess)
Involvs growing tree's which branch off, exploring all possible outcomes from given events.
prefered outcome is chosen, and decision path ttraced backwards.

Genetic: Survival of the strongest. A way to EVOLVE computer programs / equations.

HARD CORE... the Artifical Neural Network.
Involves simulating a large number of human brain cells, and teaching the resulting mass of brain cells to perform a task.

Enjoy, fascinating subject. !
Go to the top of the page
 
+Quote Post
ZeroHawk
post Sep 27 2005, 10:09 PM
Post #5


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 19
Joined: 24-September 05
Member No.: 8,687



AI is very hard for me. Whenever I try making a game the AI sucks and I end up making it multiplyer only. From what I've done, search-style Ai seems the easiest.
Go to the top of the page
 
+Quote Post
kalyan
post May 17 2006, 05:02 AM
Post #6


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 14
Joined: 16-May 06
Member No.: 13,474



well i suggest to do some programming on Prolog...
It is real Artificical programming ..
and it is easy too .. u dont need any programming knowledge...
If u have experience with c,c++ u wil get little confuse, becaz prolog does not follow any normal programming procedure..
i had experience of some around 5 months with that... and i have solve many pronblems..
and more over after that i left... i cant recollece now..
get GNU copy of that.. it is free it is portable on windows also... just serach on net....
try to solve like Tic-to-toe, Su_Duko... some game human-canibal...and all that gives u a good begining..
latter u will start enjoying that... seriously.......
cool.gif
Go to the top of the page
 
+Quote Post
evought
post Sep 19 2006, 03:25 AM
Post #7


Premium Member
Group Icon

Group: Members
Posts: 200
Joined: 3-October 05
From: Missouri
Member No.: 8,888
myCENTs:71.12



QUOTE(ZeroHawk @ Sep 27 2005, 05:09 PM) *

AI is very hard for me. Whenever I try making a game the AI sucks and I end up making it multiplyer only. From what I've done, search-style Ai seems the easiest.


One thing to remember in programming game AIs is that the computer player does not necessarily have to mimic human thought, it just has to look like it mimics human thought on the outside. In reality, internally, the AI player can simply cheat. Limitations of the AI are made up for by the fact that the computer player can have direct access to the game mechanics and does not have to deal with a human-computer interface (mouse and keyboard).

Given this, the best way to program AIs for many games is 1) keep it simple, and 2) treat (move) each enemy separately. Since there is only one relatively slow player and there can be many relatively fast enemies, even a basic AI can be challenging. In an RTS, for instance, the player has to scroll and select units to move them. The computer player can order each of its units every turn. The player has to be very intelligent to keep up with a dumb opponent.

Don't take this too far, though. Fighting off one mob after another can get boring. One simple technique to make things livelier is paying attention to crafting your scenarios. Again, the computer player can cheat by being in the right place at the right time. You know what the map looks like, arrange surprises for the human player.

Now, in the cases where you cannot cheat: the computer player has to go through essentially the same interface as the human (like in Quake Bots) and/or the levels are randomized, it gets much harder. In this case, each AI player has to build its own map of the world as it goes. Most of the time, this is goal oriented. At each point, the AI has some fixed objective, like finding food, exploring, building cities, or chasing a particular opponent. The goal should be reevaluated each turn to deal with changes in circumstances, such as discovering a new enemy or finding a resource. In simpler form, this can just be a state machine.

Where computer players can cooperate/communicate, build a hierarchy and report new discoveries up the chain. Send group orders down the chain and then have each AI opponent move based on the goal it is given from above. The hierarchy can be built in ("command" bots and "soldier" bots) or it can be dynamic (liek the way that Windows Master Browsers ae elected on a network). I have wanted for some time to work on a system like this which incorporates Quake Bot style mapping and gentic algorithms for tuning enemy behavior. Basically, each AI player is generated with slightly different constants for things like aggressiveness, curiosity, etc., and as they are killed off, natural selection occurs. When generating new enemies, use input from existing/surviving enemies plus some randomization. This would be great for simulating, for instance, an insect-like enemy race: a mob that learns. The "perfect" evolved bug may be very different in different scenarios and against different players. I was considering a hierarchy where killing the control bug would cause the enemy to become disorganized until a new bug was elected.

I was going to work on this for the Crystal Space/Crystal Core project, but, as I am disabled, I no longer have the ability to put enough time/energy into making it work and keeping up with the rest of the project.

Go to the top of the page
 
+Quote Post
yeh
post Sep 19 2006, 05:34 AM
Post #8


Advanced Member
Group Icon

Group: Members
Posts: 147
Joined: 13-May 06
Member No.: 13,389



I think you would have already got all the info you want from the countless posts above. I just have something to add. Even though Prolog and Lisp is commonly associated with AI, you can actually do AI stuff without using those languages. Since you mentioned genetic algorithm, I would believe there are libraries implementing genetic algorithm in either C/C++/Java, one of those. Do a search for them. Or if you feel like it, write them yourself once you understand the algorithm. Good luck... smile.gif
Go to the top of the page
 
+Quote Post
tommydanger
post Sep 22 2006, 02:29 PM
Post #9


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 42
Joined: 1-September 06
Member No.: 15,660



Well AI can be pretty complex when you are heading for neural networks.
A friend of mine still trys to replicate something similar like neural networks in c++ rolleyes.gif .
Even though he knows that he will fail, he still fiddles around with that matter tongue.gif
As every programmer you should have a strong background in mathematics.

Well if you want to know how to add AI in a game you should visit gamedev.net
They have covered pretty much everything you need to know about game creation, even AI
http://www.gamedev.net/reference/list.asp?categoryid=18
you can choose between these sections:AI Theory,Introduction, Genetic Algorithms, Documentation, Neural Networks, Pathfinding and Searching, Gaming, AI Links;

This and the links above should get you started wink.gif
Go to the top of the page
 
+Quote Post
Giniu
post Sep 22 2006, 03:01 PM
Post #10


Penguin Holmes
Group Icon

Group: Members
Posts: 225
Joined: 22-March 05
From: Poland
Member No.: 3,163



for nice reference I can for sure recomend http://ai-junkie.com/ai-junkie.html - very good site with not so much content but what is there is very practical.
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Learn how to surf anonymous on the net! [Part - 1](34)
  2. Enhanced Audio Cd's(2)
  3. Cron Jobs Tutorial(3)
  4. How Long To Learn Dreamweaver?(29)
  5. Photoshop Graphics Effects(31)
  6. Online Multiplayer Game(16)
  7. Ruby, A Good Language To Learn First?(14)
  8. Best Way To Learn Javascript(9)
  9. What Shall I Learn First In Programming ?(11)
  10. How To Learn A Programming Language(11)
  11. Programming In Glut (lesson 2)(8)
  12. How Do I Learn Oracle In Arabic?(5)
  13. How To Learn Mysql?(11)
  14. Does Anyone Know Rpg Maker 2003(3)
  15. A Beginner Wanting To Learn How To Make A Web Game(4)
  1. How To Learn A Programming Language(0)
  2. Learn Html(8)
  3. Sutree - How-to Videos - Watch And Learn(0)
  4. Learning Php/sql Basics(17)
  5. What Language Do You Speak?(23)
  6. Can Some One Help Me Learn To Make Animation.(1)
  7. Tell Me About Ssh(1)
  8. W3 Schools(1)
  9. How To Call A Dll From Delphi(0)
  10. Do I Need To Do Any Extra Setup For Audio / Video Output?(1)
  11. The Future For Artificial Life(3)
  12. I Need Help Finding The Best Way To Learn Php(4)
  13. Choosing Your Computer Before Bying(4)


 



- Lo-Fi Version Time is now: 5th December 2008 - 01:37 AM