Original code here?
ABGtoC/blackjack.c at master * pcurry/ABGtoC * GitHub

> I am wondering how I could add a betting system to this code.
Well what have you thought about?