Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too procedural! #1

Open
xtoddx opened this issue Jul 6, 2012 · 0 comments
Open

Too procedural! #1

xtoddx opened this issue Jul 6, 2012 · 0 comments

Comments

@xtoddx
Copy link
Owner

xtoddx commented Jul 6, 2012

Fix the implementation of the Poker object to follow a better object-oriented paradigm. Right now a name map, the deck, and the generation of a hand of cards are all in the same method, which keeps us from testing components in isolation.

We assume we're playing 5 card stud, but we may want to play hold-em down the line, so see if we can map that onto the domain. I think there may be games (Canasta?) that use different decks, or a set of 2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant