Cribbage Assistant

I wrote a simple java applet cribbage assistant. It allows the user to enter a hand of 6 cards and it will analyze the different possible outcomes and recommend the best possible hand.

[applet code=”WebApplet” file=”” width=”700″ height=”400″]

Cards are entered using the following 2 character code:
first character is the card value:
‘a’ = ace, 2, 3, 4, 5, 6, 7, 8, 9, ‘t’ = ten, ‘j’ = jack, ‘q’ = queen, ‘k’ = king

second character is the suite:
‘s’ = spades, ‘d’ = diamonds, ‘c’ = clubs, ‘h’ = hearts

For example:
4s = four of spades
tc = ten of clubs
qh = queen of hearts

Paul Soucy

Read more posts by this author.