I created a rigged blackjack game, whenever the house is in the negatives it is guarenteed the player will lose. Try it out on my GitHub