Rule-based Dynamic Dialogue C# (Unity)

December 1, 2020

This is an attempt to write a rule based dynamic dialogue like it is presented in this GDC Talk: AI-driven Dynamic Dialog through Fuzzy Pattern Matching - YouTube

This project is currently very early in development.
If you would like to work on it together or contribute, please contact me.


  • This project utilizes ANTLR4 to parse so called `.bark` files.
  • All rules and responses get brought together in `pack`s.
  • When starting a query, the "best" response gets picked by going through the rules.

Github Repository