ye, u seem to hit integer bit limit at just over 2 billion.
ur math is pretty close to right
u start with 5000 not 15000 and every 3 wins(or losses) you get a bonus,
but techinically in the big wheel you can get more tokens, therefore more bets so the game can go on forever
nice find though