# Artificial Intelligence

• 07-26-2002
Ruski
Artificial Intelligence
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:
• 07-26-2002
minesweeper
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.

• 07-26-2002
Ruski
Lol... so what exactly do the formulas do??
• 07-26-2002
minesweeper
I don't mean to be rude but......look it up.
• 07-26-2002
Ruski
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 :(
• 07-26-2002
minesweeper
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.
• 07-26-2002
Ruski
:D lol :D
• 07-26-2002
Davros
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
• 07-26-2002
Ruski
Whats that board all about?? :)
• 07-26-2002
nvoigt
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.
• 07-26-2002
Ruski
Lol :) I saw that .. it asked me to purchase some :)
• 07-26-2002
sean
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.
• 07-27-2002
Ruski
OK :)