algorithms for poker.