LifeAI open source C++ library

LifeAI open source C++ library

Postby jeremiah » 09 Sep 2011, 03:26

LifeAI is an open source C++ library for Artificial Intelligence decision-making. It can be integrated in computer games, robotics, or anything that requires simulated intelligence.

Entities and actions are created in C++ and text files with LifeAI's syntax. Entities have characteristics that describe them called "stats". They consider their value of the stats and how much they are modified to assess the "pros" and "cons" of an action. They also consider their value of other entities involved in the action and how it affects them. They can then determine an overall value for performing the action. As stats in the simulation change, LifeAI updates the best action options for the entities. The actions can then be implemented as needed in a simulation.

LifeAI is licensed under the MIT X11 license. The library and a demonstration application can be downloaded at this link:

http://www.lifeai.com/download.html
Last edited by jeremiah on 12 Sep 2011, 09:06, edited 1 time in total.
jeremiah
 
Posts: 6
Joined: 04 Sep 2011, 20:15

Re: LifeAI open source C++ library

Postby charlie » 09 Sep 2011, 04:43

That's really cool :) though you should do a video to show it off even more! Not everybody has Windows/DirectX.
Free Gamer - it's the dogz
Vexi - web UI platform
User avatar
charlie
Global Moderator
 
Posts: 2131
Joined: 02 Dec 2009, 11:56
Location: Manchester, UK

Re: LifeAI open source C++ library

Postby farcodev » 09 Sep 2011, 19:44

cool demo, even if i didn't like to have my mouse locked on it.

But it's a great job at the simulation level, keep it up ! :)
farcodev
 
Posts: 163
Joined: 09 Feb 2011, 02:52

Re: LifeAI open source C++ library

Postby jeremiah » 10 Sep 2011, 01:03

Thanks for the feedback, guys :)

@charlie - Thanks for the suggestion! I have now added a "watch video" link to the download page. It can also be viewed at this url: http://vimeo.com/28839032
jeremiah
 
Posts: 6
Joined: 04 Sep 2011, 20:15

Re: LifeAI open source C++ library

Postby FreakNigh » 10 Sep 2011, 13:55

Is this completely a home grown AI or do you have influences from already established algorithms? If so what algorithms are you employing and what's your strategy? Is there a brief explanation on how it works?
FreakNigh
 
Posts: 79
Joined: 23 Jun 2011, 08:45
Location: Philadelphia, USA

Re: LifeAI open source C++ library

Postby jeremiah » 10 Sep 2011, 22:13

Sure - LifeAI isn't based on an established AI system, but closely follows human logic. It is based on the idea that we have characteristics that define us (stats), and we value those stats differently.

So when an action modifies those stats, it considers how much of the stat is modified and how much that is valued. Furthermore, we consider our value toward the entities involved, whether positive or negative. Similar to how we tally "pros" and "cons" in our minds about action choices, the entities in LifeAI do the same.

This is the basics, but of course there is a lot more to it. I recommend the general section of the guide http://www.lifeai.com/guide_files/general.html for additional information.
jeremiah
 
Posts: 6
Joined: 04 Sep 2011, 20:15

Re: LifeAI open source C++ library

Postby FreakNigh » 10 Sep 2011, 22:42

I've studied a fair share of AI but haven't implemented a lot so I can't argue it very well. However I think you'd love to read this book - Artificial Intelligence: A Modern Approach http://aima.cs.berkeley.edu/ . I've read page by page half of it and another book on AI for games as well as philosophy and psychology which you'll find is related to AI. Also if you can sign up for this free AI class that stanford is giving, it just started so hopefully you still can - http://www.ai-class.com/ .
FreakNigh
 
Posts: 79
Joined: 23 Jun 2011, 08:45
Location: Philadelphia, USA

Re: LifeAI open source C++ library

Postby jeremiah » 10 Sep 2011, 23:04

Thanks for the info, FreakNigh. Btw, noticed your avatar. I'm a huge Ron Paul fan too ;)
jeremiah
 
Posts: 6
Joined: 04 Sep 2011, 20:15

Re: LifeAI open source C++ library

Postby jeremiah » 12 Sep 2011, 09:08

I have revised the main LifeAI page and my initial forum post with a clear, concise description of LifeAI's logic due to the feedback I was receiving.
jeremiah
 
Posts: 6
Joined: 04 Sep 2011, 20:15

Who is online

Users browsing this forum: No registered users and 1 guest

cron