AiRuleBase is a forward chaining, rule-based reasoning engine for the Unity Game Engine.
The system was developed as a group project in a Visual and Game Programming special topics course at the Art Institute of Washington. The development team consisted of one professor: Dr. Hesham Fouad, and four students: Michael McMurdy, Alain Bruno, Obasi Mba, and Michael Diley. The development effort was completed during one term lasting eleven weeks.
AiRuleBase uses a forward chaining inference engine that was initially developed by Dr. Fouad for an Office of Naval Research funded research project in adaptive learning. For this project, the engine was rewritten in C# and adapted to work within the Unity Game Engine.
AiRuleBase is attached to Unity Game Engine game objects as a component and utilizes data-driven reasoning to control object behavior through script invocation and state space changes. The system provides a complete editing environment for the creation of production rules and the specification of state space. State variables can have sensor scripts attached to them that dynamically feed them data synthesized from the scene at runtime.