German card game that involves betting 'knocks'
It sounds like it is Twenty-One; one of the variants of Black Jack which does not involve actual money.
At least it is helpful to count cards in Black Jack, that would match what you wrote about probability.