skip to Main Content

I am looking for C and C++ implementations of artificial intelligence algorithms useful in games. Some of the ones I am most interested in are reinforcement learning algorithms, genetic algorithms and neural networks. Any others are interesting too, however.

I have found which has some very fascinating machine learning algorithms, but these don’t seem particularly geared towards games.

The licenses I can use are the Boost Software License, the Zlib/Libpng license, and public domain. Any recommendations of libraries that fall under any of these licenses would be highly appreciated.



  1. Even if you wanted a library, I would highly recommend to program artificial intelligence by yourself. It may not be that easy, but programming does (in my view) not mean using other peoples work.

    A short introduction to the study of AI can be found here.. (needs some seconds to load..)

    If you can not assimilate to the thought of programming on your own, I heard about “Kynapse” being a very nice AI SDK for middleware programs.

    I hope this helps somehow

    Login or Signup to reply.
  2. AI is a huge field, so just saying “useful in games” doesn’t mean too much. This probably isn’t exactly what you’re looking for, but you may be able to get some use out of Alchemy:

    “Alchemy is a software package providing a series of algorithms for statistical relational learning and probabilistic logic inference, based on the Markov logic representation. Alchemy allows you to easily develop a wide range of AI applications, including:
    Collective classification
    Link prediction
    Entity resolution
    Social network modeling
    Information extraction”

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top