[Icon-tech] Merry Christmas from the Cribbage Santa
Ken Perry
kperry at aph.org
Tue Dec 15 12:15:09 MST 2009
Very nice it actually feels like when I play VIP cribbage on the computer. A few things for you though.
1) If you put a empty file named dirty in the startmenu folder it will make the Braille plus rebuild the menus and thus you don't need a reboot.
2) You need to put the status key to work for example it might say the current score and who's crib it is for example when it deals you the cards and tells you who's crib it is sometimes I am not listening and forget. I hate throwing points into his crib because I forgot.
3) use the status to tell what's been played right now if you're not listening you could get lost.
The way to do status is the following
in your app class:
self.addStatusFunc(func)
def func(self):
brailleMsg="bla"
textMsg="blah2"
return (textMsg,brailleMsg)
do all your message logic in the status function you add and your all good.
Ken
-----Original Message-----
From: icon-tech-bounces at mulcahy.ws [mailto:icon-tech-bounces at mulcahy.ws] On Behalf Of Christopher Moore
Sent: Monday, December 14, 2009 7:54 PM
To: Icon technical discussions.
Subject: [Icon-tech] Merry Christmas from the Cribbage Santa
Some of you may recall that I released a version of the beloved cribbage card game for the Icon/BP earlier this year. That version had some significant problems which I have since addressed.
I'm attaching a revised version 0.2.0 in an ipk package. The major enhancements in this version are the real-time announcing of plays and a verbose hand counting feature.
Comments and suggestions are certainly welcome.
Chris
More information about the Icon-tech
mailing list