Skip to content

JuanObandoDev/poker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poker Game

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.

About

singleplayer simple poker project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages