Thanks. I explain how I calculate the risk of ruin in video poker in my video poker appendix 1. However for games where the bet amount is not always the same the calculations get very messy and computer simulations are necessary.