A move in a game brings rewards over the coming steps. A reward you get one step later is worth patience (between 0 and 1) of the same reward right now: you have to wait for it, and things can go wrong on the way. Write worth(rewards, patience): what the whole list of rewards is worth right now.
| now | +1 step | +2 steps |
|---|---|---|
| 0 | 0 | 10 |