Skip to content

Ziggy222/CribbageScoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CribbageScoring

This simple tool creates a deck of cards (can be read in via CSV, or generates the default deck)

Current Version:

  • Standard deck of four suits and Ace through King values is created by default, shuffles the created deck
  • Draws a hand of four cards
  • "Draws" the single "cut" card into a "public space"
  • Correctly Scores the hand for the following point structures:
    • 15s
    • Pairs
    • Runs
    • Flushes
    • Nibs and Nobs (With nibs caveat that it happens at the "Wrong" time)
  • Can create decks from CSV files
  • Players draw 6 and choose 2 to discard into the crib before seeing the cut_card and scoring

Future Features:

  • Simulated game ends when player reaches or exceeds 121 points.
  • Creates data set of all 5 card combos and their scores, assign average points per card, etc. do some visualization?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages