This code creates a poker game. It starts by creating a new deck of cards and shuffling it. Then it distributes 5 cards to the player and shows them. The player is then asked if they want to keep or discard each card, and can choose to keep all or discard all. The hand is then sorted by value, and the result is validated against different poker hands (royal flush, straight flush, etc.). If the hand matches one of these hands, the player wins; otherwise, he lose.
-
Notifications
You must be signed in to change notification settings - Fork 1
JuanObandoDev/poker
About
singleplayer simple poker project
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published