PDA

View Full Version : Artificial Intelligence

Ruski
07-26-2002, 03:09 AM
I was wondering if making artificial intelligence in games and applications is a difficult thing... I mean if you make a game of chess, you have to make a lot of it, there are infinite moves!!
:confused::confused::confused::confused::confused:

minesweeper
07-26-2002, 03:19 AM
Yeah but you don't hard code every single move in. There are certain mathematical formulae (can't remember their names, begin with H I think or A) that you make the CPU follow. I believe these formuale effectively get the CPU to step through potential moves and each time evaluate whether that particular set of moves will result in the CPU holding an advantageous position. It will know this because you need to code in an idea of the winning position or what it should be aiming for.

I think that what I have written in true but I invite anyone with more knowledge to correct me.

Ruski
07-26-2002, 03:21 AM
Lol... so what exactly do the formulas do??

minesweeper
07-26-2002, 03:23 AM
I don't mean to be rude but......look it up.

Ruski
07-26-2002, 03:24 AM
Lol, first of all ... I can look it up but I think that to make artificial intelligence with the formulas u told me is hard because you need to know mathematics :) ... I'm still young for that :(

minesweeper
07-26-2002, 03:28 AM
Ok, well I found the name of the functions......Heuristic functions. And yes, to make good artificial intelligence you do need a reasonable understanding of maths. Otherwise as you said before you are simply left coding in every possible scenario the CPU might come across.

Ruski
07-26-2002, 03:38 AM
:D lol :D

Davros
07-26-2002, 06:13 AM
The term Artificial Intelligence is used to cover a whole hotch-potch mix of algorithms & techniques for solving problems in which the machine appears to be intelligent. If we are talking about Chess & other similiar games, a common technique is the mini-max algorithm. But it's not the only one.

I suggest you post your questions on the discussion board at www.generation5.org

Ruski
07-26-2002, 06:23 AM
Whats that board all about?? :)

nvoigt
07-26-2002, 09:34 AM
How about clicking on the link and finding out ? You need to do some work on your own. Not surprisingly, the board is about artificial intelligence.

Ruski
07-26-2002, 12:01 PM
Lol :) I saw that .. it asked me to purchase some :)

sean
07-26-2002, 01:44 PM
They've said it twice before - you need to do some work on your own. If you don't know the mathematics, learn it. There's links all over this site to http://www.aihorizon.com - they do artificial inteligence a lot, and they have a tutorial on making AI Chess games.

Ruski
07-27-2002, 11:38 AM
OK :)