On Mon, 2009-07-13 at 18:36 +0200, Loic Dachary wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > There are a few modifications that can be done in jpoker in order to > allow for a more compact table layout ( ideally 760 x 530 pixels ). > I think it would be beneficial to add the following to jpoker and use > the default table as a demonstration where possible. > > 1) The hole cards of the user need not be placed at the same place or > have the same size when they are face down or face up. I think it is > just a matter of changing the CSS and having smaller image for the > face down card.
If you want them to be centered, the spacing between cards (controlled by card position in mockup.svg) would have to be changed too. We could either: - create another layout for smaller cards in mockup.svg or - create a board element and position/space cards with css. > 2) Informations can be hidden according to the state of the user. For > instance, if the user is allin, the money can be hidden (it is empty > anyway) therefore the side pot can be displayed instead. A list of the > avatar information must be established and for each state of the game > it should be made clear if it is required or not. On the basis of this > matrix, a CSS class could be set, allowing the designer to decide > which information is visible without impacting the readability of the > action. I'm not sure I'm making much sense but it looks like a good > direction. Do you want me to set a CSS class for each state of the player on seat element, each state of the game on table element, and each state of selfPlayer on game_window ? And let the designed choose what to show, and what do hide, using these CSS classes ? > 3) The side pots are placed according to their index. It would save a > lot of space if the designer could decide for a different layout > depending on the number of side pots displayed on the table. For > instance, when there is only one pot it can be placed in the center of > the table and be fairly large. But when there are two they could be > made smaller and be equaly spaced. To achieve this jpoker should > create a class that carries the number of side pots and place it in > the nearest parent of the side pots. If you want them to be centered, the spacing between pots (controlled by pot position in mockup.svg) would have to be changed too. We could either: - create another layout for smaller pots in mockup.svg or - create a pots element and position/space pot with css. > If you have any other ideas or if something is obscure, please let me > know. > I'll be avaible either tonight or tomorrow to work on these changes. -- Johan Euphrosine <[email protected]>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
