Skip to content

HamdiaA/Poker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Poker

This project, developed in Python, evaluates poker hands using a string of characters representing card values ("23456789TJQKA") and suits ("cdhs"). It then states the type of hand it is: straight flush, four of a kind, full house, flush, straight, three of a kind, two pair, pair, or high card.

Here are some examples of the hands assessed:

  • Straight Flush: 3d4d5d6d7d
  • Four of a Kind: TcTsThTd2s
  • Full House: 3d3s3c8s8c
  • Flush: 2s4s6sTsQs
  • Straight: 3s4d5s6h7c
  • Three of a Kind: Ah6c6s3c6h
  • Two Pair: 4s8d8hJcJs
  • Pair: 7h7h6s9h3c
  • High Card: 4sJh7dKc9s (K high)

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages