Optimal control of affine nonlinear continuous-time systems using an online Hamilton-Jacobi-Isaacs formulation | Synapse