Thanks for the kind words. Yes, the probability of a three of a kind depends on the pay table, which affects player strategy. My video poker program always makes the optimal play for every hand by looping through all the possible cards on the draw. However, creating a strategy in writing is very time consuming.