:grinning: Utility-based AI library written in Haxe
Needs AI is a utility-based AI library written in Haxe.
Note: this library is unfinished and isn’t much use for anything, since I shelved the project before integrating it with a real game. It might be a starting point for anyone else interested in creating their own utility-based AI though.
Run the demo here. Read the documentation here.
See the demo code for a usage example. The overall design is as follows: agents take cues from their ‘’Brain’’s, whose ‘’Reasoners’’
evaluate their ‘’ActionSets’’, in order to select a suitable ‘’Action’’ for the current situation, by weighing up ‘’Considerations’’ based on ‘’Inputs’’ that reflect the state of the game world.
Some links that provide background about utility-based AI: