Text this: An approximation to discrete optimal feedback controls