New Code Version

Just posting the newest version of the code. Finally got the AI working well enough to post. This is the first implementation of Fuzzy Logic AI. It’s basically a Fuzzy State Machine at the moment but I am hoping to expand it. The rules are also very rudimentary at this stage but I think it still works quite well.

Some minor GUI additions also:

  • Cause of Death display – So we can keep track of what is killing the creatures and aid debugging.
  • Pressing “p” will reset this – useful if you want to know what is killing the creatures at different points during the simulation.

I think that’s all. Anyway here is a link to the sketch:
Morpheme – First Fuzzy

Leave a Reply

You must be logged in to post a comment.