Skip to content

A simple text adventure example that takes advantage of the planning capabilities of Fluid HTN.

License

Notifications You must be signed in to change notification settings

ptrefall/fluid-text-adventure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fluid Hierarchical Task Network

Fluid Text Adventure

A simple text adventure example that takes advantage of the planning capabilities of the Fluid Hierarchical Task Network planner. We also use the Random Selector in the Fluid Extensions library.

The example sets up a scenario with a bottle and a sword in an otherwise empty room. You can pick up the bottle and sword, you can open the bottle and drink from it, throw the bottle or break it with the sword. The planner will be able to string together actions in order to fulfill the player's command conveniently. So that if you type 'drink bottle' right from the start, the planner will know to first pick up the bottle, unscrew the cork, and then drink it, for example.

This is just a simple example that show 'a' way to use the planner. The way objects and the planner domains are set up are in no way perfect or generic enough, but hopefully it can help bring insight into the use of the planner.

This example will improve over time.

Support

Join the discord channel to share your experience and get support on the usage of Fluid HTN.

About

A simple text adventure example that takes advantage of the planning capabilities of Fluid HTN.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages