This topic is READ ONLY
Bennjamin (27) [Avatar] Offline
I'm Trying to make a Python Cribbage game. all i can figure out so far is the deck. can somebody please help me???
warren.sande (211) [Avatar] Offline
Re: PyCribbage
That would be a fun project, but very challenging. I play Cribbage myself, but I wouldn't know how to write an algorithm for how to figure out what to keep and what to put in the crib, or what cards to play when pegging. Even counting up the score at the end is fairly complicated.

The book has an example of a card game (Crazy Eights), which is a game where the rules are pretty simple. If you decide to pursue the Cribbage game, you could look at that for some examples of creating and managing hands, etc. But the actual cribbage rules and especially the strategy would be quite complicated.

Sorry I can't be more help. If you decide to tackle it, I wish you luck.

Warren Sande
Bennjamin (27) [Avatar] Offline
Re: PyCribbage
I've also thought of a cool idea called cMail. It's kind of like a private email server for a single computer. You just click your name, and create your account, and then the program saves your information in a pickle file. You can send "Emails" to your family members and they'll see it the next time they log in!