Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Cribbage thoughts

Cribbage thoughts

Scheduled Pinned Locked Moved The Lounge
c++designhelpquestiondiscussion
9 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    stoneyowl2
    wrote on last edited by
    #1

    Anyone play (or have played) Cribbage? I remember many decades ago (between 3 and 6 :) ) learning and playing with my grandfather for hours. Played during high school, college and several workplaces when it was slow. Relevancy is that I was cleaning up some old HDDs and found a cribbage hand generator and scoring application I had written some years ago. I was curious as to whether my anecdotal evidence of the average value of a cribbage hand was matched by a statistical analysis of many thousands of generated hands. At that time when I wanted to learn a new language, I would see how hard it was to write a hand evaluator for scoring. I seem to remember doing it in FORTRAN, Q-Basic, VB 6.0, Forth, MUMPS, C, C++, PL/1 and a couple of others. I guess it is time to write another one, in a 'modern' language, just for grins and giggles.

    A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

    Mike HankeyM P L 3 Replies Last reply
    0
    • S stoneyowl2

      Anyone play (or have played) Cribbage? I remember many decades ago (between 3 and 6 :) ) learning and playing with my grandfather for hours. Played during high school, college and several workplaces when it was slow. Relevancy is that I was cleaning up some old HDDs and found a cribbage hand generator and scoring application I had written some years ago. I was curious as to whether my anecdotal evidence of the average value of a cribbage hand was matched by a statistical analysis of many thousands of generated hands. At that time when I wanted to learn a new language, I would see how hard it was to write a hand evaluator for scoring. I seem to remember doing it in FORTRAN, Q-Basic, VB 6.0, Forth, MUMPS, C, C++, PL/1 and a couple of others. I guess it is time to write another one, in a 'modern' language, just for grins and giggles.

      A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

      Mike HankeyM Offline
      Mike HankeyM Offline
      Mike Hankey
      wrote on last edited by
      #2

      Played off and on over the years. Don't much anymore!

      Everyone has a photographic memory; some just don't have film. Steven Wright

      S 1 Reply Last reply
      0
      • Mike HankeyM Mike Hankey

        Played off and on over the years. Don't much anymore!

        Everyone has a photographic memory; some just don't have film. Steven Wright

        S Offline
        S Offline
        stoneyowl2
        wrote on last edited by
        #3

        Yeah, me neither. And the 'kids' now-a-days wouldn't know a real deck of cards if it hit them in the face. Sometimes I am not sure they can count to 31!

        A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

        Mike HankeyM E F 3 Replies Last reply
        0
        • S stoneyowl2

          Yeah, me neither. And the 'kids' now-a-days wouldn't know a real deck of cards if it hit them in the face. Sometimes I am not sure they can count to 31!

          A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

          Mike HankeyM Offline
          Mike HankeyM Offline
          Mike Hankey
          wrote on last edited by
          #4

          stoneyowl2 wrote:

          I am not sure they can count to 31!

          Sure they can press the number 3 then the number 1 then plus sign then the number one and equals! :)

          Everyone has a photographic memory; some just don't have film. Steven Wright

          1 Reply Last reply
          0
          • S stoneyowl2

            Yeah, me neither. And the 'kids' now-a-days wouldn't know a real deck of cards if it hit them in the face. Sometimes I am not sure they can count to 31!

            A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

            E Offline
            E Offline
            Eric Lynch
            wrote on last edited by
            #5

            You've set the bar too high. They can only count to 20...if their shoes are off. Though, if they find (and recognize) a deck of cards, and their shoes are still off, that limit rises to 72 :)

            1 Reply Last reply
            0
            • S stoneyowl2

              Anyone play (or have played) Cribbage? I remember many decades ago (between 3 and 6 :) ) learning and playing with my grandfather for hours. Played during high school, college and several workplaces when it was slow. Relevancy is that I was cleaning up some old HDDs and found a cribbage hand generator and scoring application I had written some years ago. I was curious as to whether my anecdotal evidence of the average value of a cribbage hand was matched by a statistical analysis of many thousands of generated hands. At that time when I wanted to learn a new language, I would see how hard it was to write a hand evaluator for scoring. I seem to remember doing it in FORTRAN, Q-Basic, VB 6.0, Forth, MUMPS, C, C++, PL/1 and a couple of others. I guess it is time to write another one, in a 'modern' language, just for grins and giggles.

              A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

              P Offline
              P Offline
              PIEBALDconsult
              wrote on last edited by
              #6

              Used to as a kid. And then a few years ago I went to a meet-up kind of thing once a week. But not recently. Though I continue to buy up cribbage boards at garage sales and the like. Cribbage scoring isn't a task I would take on.

              P 1 Reply Last reply
              0
              • S stoneyowl2

                Yeah, me neither. And the 'kids' now-a-days wouldn't know a real deck of cards if it hit them in the face. Sometimes I am not sure they can count to 31!

                A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

                F Offline
                F Offline
                Fergus Donaldson
                wrote on last edited by
                #7

                "Sometimes I am not sure they can count to 31!" ...or even 15!!

                1 Reply Last reply
                0
                • S stoneyowl2

                  Anyone play (or have played) Cribbage? I remember many decades ago (between 3 and 6 :) ) learning and playing with my grandfather for hours. Played during high school, college and several workplaces when it was slow. Relevancy is that I was cleaning up some old HDDs and found a cribbage hand generator and scoring application I had written some years ago. I was curious as to whether my anecdotal evidence of the average value of a cribbage hand was matched by a statistical analysis of many thousands of generated hands. At that time when I wanted to learn a new language, I would see how hard it was to write a hand evaluator for scoring. I seem to remember doing it in FORTRAN, Q-Basic, VB 6.0, Forth, MUMPS, C, C++, PL/1 and a couple of others. I guess it is time to write another one, in a 'modern' language, just for grins and giggles.

                  A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  "One for his nob" chortle, chortle.

                  1 Reply Last reply
                  0
                  • P PIEBALDconsult

                    Used to as a kid. And then a few years ago I went to a meet-up kind of thing once a week. But not recently. Though I continue to buy up cribbage boards at garage sales and the like. Cribbage scoring isn't a task I would take on.

                    P Offline
                    P Offline
                    PeejayAdams
                    wrote on last edited by
                    #9

                    PIEBALDconsult wrote:

                    Cribbage scoring isn't a task I would take on.

                    I think that it would be an absolutely ideal subject for a coding tutorial (and no, I'm not going to write it!)

                    Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups