Before founding A5 Labs, Conlan Ma spent years discussing how to beat a poker game. His next problem was how to keep the game worth playing.