[Icon-tech] Merry Christmas from the Cribbage Santa

Ken Perry kperry at aph.org
Wed Dec 16 04:38:52 MST 2009



Nod I found those keys after I wrote the mail but Status definitely would make more since.

Ken

-----Original Message-----
From: icon-tech-bounces at mulcahy.ws [mailto:icon-tech-bounces at mulcahy.ws] On Behalf Of Christopher Moore
Sent: Tuesday, December 15, 2009 7:45 PM
To: Icon technical discussions.
Subject: Re: [Icon-tech] Merry Christmas from the Cribbage Santa

Thanks, Ken for the info on the status function.  
I'll look into adding some status logic.

If you press the "*" key when discarding, it tells you whose crib it 
is.  Also, when playing, you can review the play log which is a history 
of prior plays.  But, putting some of the info such as the current count 
on the status button might be more intuitive.

Chris
On Tue, Dec 
15, 2009 at 
02:15:09PM 
-0500, 
Ken Perry wrote:
> 
> 
> 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
> 
> _______________________________________________
> Icon-tech mailing list
> Icon-tech at mulcahy.ws
> http://www.mulcahy.ws/mailman/listinfo/icon-tech
_______________________________________________
Icon-tech mailing list
Icon-tech at mulcahy.ws
http://www.mulcahy.ws/mailman/listinfo/icon-tech



More information about the Icon-tech mailing list