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.
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.