Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 1.34 KB

README.md

File metadata and controls

21 lines (11 loc) · 1.34 KB

Peer to Peer: poker ranking

Dependency Status

Build Status

I was the second guest on Drew Neil’s Peer to Peer interview series, hosted by Tom Stuart. I was given me a programming problem about poker card-ranking. Tom Stuart sat by me and asked me questions about how I was approaching things as I worked on the problem. I had lots of fun making that video: you can watch the episode here.

Problem description

A “hand” in poker consists of five playing cards drawn from a standard deck. Implement a system which can decide which of two hands has the highest ranking, according to the standard poker ranking rules.

Solving the problem

Annotations and explanations of my though process and compromises are available here.

On the master branch you will see where I left things off at the end of session.

On the bonus branch you will find further work done to complete the problem and refactor some of the code.