Skip to content

core: create hand eval module #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
create classes 'Card' and 'Hand'

Card
- rank (2,3,...,J,Q,K,A)
- suit (spades, clubs, etc.)
- string representation ("ace of clubs", "Ac")

Hand
- add card to hand
- find best hand (no worst hand finder yet for "low" games)
- compare two hands
- string representation ("full house (aces over tens)")

Original issue reported on code.google.com by brian%br...@gtempaccount.com on 18 Jan 2008 at 4:30

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions