Here is a braintest:
We draw from a standard 100 card deck, 50 red and 50 black. You can stop at any round with payoff the ratio of red card in total draws. What's the payoff of this game?
We denote $f(r,b)$ the expected value of r red and b black left (i.e. 50-r and 50-b has been opened). if you stop, you will been paid: $$\dfrac{50-r}{100-r-b};$$ if you continue, the value will be: $$\dfrac{r}{r+b}f(r-1,b) + \dfrac{b}{r+b}f(r,b-1).$$ Therefore we have $$f(r,b) = \max\left(\dfrac{50-r}{100-r-b},\quad \dfrac{r}{r+b}f(r-1,b) + \dfrac{b}{r+b}f(r,b-1)\right)$$ with $$f(r,0) = \dfrac{1}{2},\ f(0,b) = \dfrac{r}{100-b}.$$
Am I correct? And do we have the closed form of $f(26,26)?$