-
Notifications
You must be signed in to change notification settings - Fork 104
Boolean Functions
Rubens de Oliveira Moraes Filho edited this page Apr 29, 2021
·
3 revisions
Similar to Action Functions (C's), Boolean Functions (B's) representing Boolean expressions. B's return a Boolean value for a given state of the game. For example, terminal b1 could be a B that returns true if the agent is waiting to collect resources (because the access is blocked) and false otherwise.
Boolean Functions allow composing If
evaluations. In short, you will use these boolean functions to complete the structure:
There are two types of booleans, one is focused on Allies units and another focused on Enemies units.
For more information and examples, please, see Conditional If.