TD Game in the Terminal