Yuka | A JavaScript library for developing Game AI

Hey @Mugen87, I’ve been following the project since your original posting. Didn’t have too much to say on it initially.

A few years ago, when I started working on my game, I was looking for an AI framework, and I couldn’t find one that would fit my needs well enough, so I ended up writing all of the AI myself.

It’s great to see something like Yuka be available today, and for the low low price of 0 rupees!

After looking at your engine, I came away both impressed with the code, and a little disappointed with the overall structure and tools on the offer. Disappointed for my own needs, not because I think the library is crap! The things I didn’t like were:

  1. the library is very tight, it’s hard to pull bits from it
  2. the behaviour implementation is very concrete, there was pretty much 0 abstraction, if I wanted to create my own behavior - it looked like it would be either impossible or a Major Payne.
  3. it runs itself, if you want to integrate it into another engine - you would not be able to integrate it into a common simulation step.
  4. lack of simulation tools (like MCTS)
  5. lack of grid-based tools

for me the two latter points were pretty much deal-breakers.

I thought you might find feedback useful. Anyway, great job on the library and thank you for releasing it to the community, I’m sure many will benefit from it.