You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pick Ghost is a poker game. About 4 players will join the game. The game uses a total of 53 cards, including ♥️A-K, ♦️A-K, ♣️A-K, ♠️A-K and the only one "ghost card", Joker. After shuffling, everyone will obtain playing cards by turn until the cards are over. Attention! Whenever you have two cards with the same digit, you need to throw away them. After the cards are over, each player needs to obtain a card form next player randomly by turn. When you don't have any card, you will win. However, finally, there must be only one player holding the "ghost card" and not throwing it. This player will lose.
What does the program do?
The program is through the simulation to check whether the game is fair when the number of people joining the game is different.
Other
The source code is in ./soruce. The setting of poker cards is in the member function cards::reset() in ./soruce/cards.cpp. You can change the setting to check other circumstances.