dt-rush / sameriver

game engine written in go
Other
1 stars 1 forks source link

Strategy pattern (GoF) for plan generation #72

Open dt-rush opened 1 year ago

dt-rush commented 1 year ago

When seeking current plan, usually you'll want to use utility evaluation to select an end goal then GOAP that end goal. But there can also be overrides which perform some cheap computation (probably looking at perception/blackboards) and spit out a prewritten sequence of actions.