Cooperative differential games with continuous updating using Hamilton–Jacobi–Bellman equation