"Michael Oschmann" <[EMAIL PROTECTED]> writes:
> Hi Loic,
>
>
> When a user starts playing they receive packetpokerPlayerCards with
> their cards (if the serial matches). But from what I can see in my
> client logs, serial 88 receives cards: 216 & 228.
>
> But when PacketPokerBoardCards gets sent (and serial 88 has won the
> game) is displays his cards as 24 & 36? Is this because serial 88's
> cards were dealt face down :- as in pokerpackets.py
Yes.
> {cards: list of integers describing cards.
>
> 255 == placeholder, i.e. down card with unknown value
>
> bit 7 and bit 8 set == down card
>
> bit 7 and bit 8 not set == up card
>
> bits 1 to 6 == card value as follows:}
>
>
> I'm not fully understanding the concept of the displaying of cards.
> Could you perhaps give me a few examples? Does the client have to send
> a packet to look at his cards? (or infer a packet?)
When a card has bit 8 set, you know the card must be displayed
face down. Otherwise it means everyone sees the card. I'm not sure to
understand what's the problem here.
Cheers,
--
+33 1 76 60 72 81 Loic Dachary mailto:[EMAIL PROTECTED]
http://dachary.org/loic/gpg.txt sip:[EMAIL PROTECTED]
Latitude: 48.86962325498033 Longitude: 2.3623046278953552
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users