Wednesday, September 17, 2014

AI for games & simulations

I've recently begun my latest class into the foray of learning how to 'game develop' and the name of the class really brings a lot of bigger questions to mind.  It is a little mind boggling how we can take math and create and the more I learn the more I don't understand. 

So get this:

When developing an AI in a game most gamers (people whom have played games) can tell you when something is being stupid (not working as intended - or is it?) and can tell you when the AI is too smart for its own good ( working as intended - or is it?!).  Now when we look at creating an AI within a game we need someway to help the AI decide what its next action will be.  This is where it gets interesting.

An AI will take external and internal knowledge and it will follow through to make a decision - typically by a FSM(finite state machine) - and then it will see assess the next decision based upon what has changed due to its actions. 

Now think for a second - this describes the natural process of interaction for just about every living creature!  If hungry then seek food, found food then seek shelter, found shelter seek warmth.  We are magicians in our own right and its crazy the kinds of things that technology will bring us in the future!

No comments:

Post a Comment