Monday, 4 March 2013

Quick thoughts on AI

Recently, ive been working with pattern matching heavy languages such as LISP and ERLANG, but today i wrote a Auto Typer/Spammer programmer for a popular web mmo, and it got me thinking about a certain point.

The smarter AI's are the ones that are dumb

Now, i know that makes no sense, but let me talk you through what i mean.

Lets say i have a character for a game, and i want to move him from point A to point B. Simple right? I could simply make a function called MoveToPoint(Point pB) and set the position of our character to B.

So the character is moved, but that's super smart. The character will have teleported from A to B!! Now as amazing as that is i don't know anyone who can do that, so our AI isn't very realistic (unless teleportation is what you are going for, in which case fantastic!) so we are going to want our character to move towards point B. Now the easiest way to do that would be to move our character a constant amount until we reach the point. But that's pretty smart as well..

Hopefully you can see where this is going. Our character wont wont to move at an exact pace, its pace might want to have a range so it walks at a pace a bit like humans do. Our character shouldn't move in an exact strait line, it might want to move a bit like humans do.
Human error it seems to me at least is the key to having smart AI systems or at least ones that work well enough into tricking people to think they are intelligent.

So when i say smarter AI's are the dumb ones, im not saying that they are AI's with only a few lines of code and very little functions, but an AI who has a vast amount of different things it can do, and that it will definitely not always do those things perfectly, just like a human!


I think if i ever post some thoughts again, i should post pictures of some sort as well  They always make things better :)

No comments:

Post a Comment