finish write poker and test it pass