Maybe interesting I have built a backgammon bot in the past detailed history here https://medium.com/@arisAlexis/the-money-machine-dream-e4ab5...
It also contains highly optimised Blackjack bot. PartyPoker had a beatable blackjack due to bonus incentives they gave out (they've fixed it since).
I turned $100 into approximately $3500 with the whoring. My expected value was something like 2900--I got lucky enough to beat the table in addition to earning the bonus.
Many of them were something like "deposit $200, get $200 bonus, have to bet $xxxx before you can withdrawal" with approximately a $190 expected value if playing $1/hand blackjack, perfect play.
I didn't think it was any surprise to the casinos that they were beatable--I assumed they just relied on them as a loss leader.