Forked from iWoz, 针对欢乐斗地主残局
Cache the solution in the search process Interact with user and output the solution, thus to guide you defeat the computer(智多星, 神算子, 跑得快。。。)
- First input computer's cards as a string, W for Joker King, w for joker, t for 10, j for 11, q for 12, k for 13, other number as usual.
- Then input yours.
- Wait for the solution for a while.
- Then can play under the output guideness.
If the card amount is very large or there exist many straight(like 3456789tjqk1), the runtime may be a lot longer.