turn base game

hi, i have a turn base game where the player can do varius actions during his turn (i dont know how many actions he will do).

phases are like:

player A turn
player B turn
summary

what i currently did is on the “fixedUpdate” i checked if its my turn, if so i “requestDecision”.
my problem is with “addReward” as i need to reward the entire “round” outcome rather than the single actions made during the player turn.

how can i address that issue?

It is okay to add rewards to the Agent in the summary phase, because all that matters is that the reward is given to each Agent before their next decision point. So at the end of the turn, you can grad your Agent and call AddReward directly on it. as long as each Agent has only one decision point per turn, it will guarantee that the rewards are given before the next decision point for each Agent.

thanks for the reply, tho as i mentioned above
“the player can do varius actions during his turn (i dont know how many actions he will do).”

in a single turn the Agent must take multiple decisions
example:
buy multipe items / use some of them

i have no idea if what he bought is good or not until the round is over.

any chance for additional help here?

Hi @mamaorha ,
our toolkit doesn’t currently support this type of behavior. if you are able to associate a reward for each action, it may be possible. You can also file a feature request for this on out GitHub issues page.