avose / CardCloud

Web users share a virtual simulation of physical cards.
MIT License
1 stars 0 forks source link

Player's "Hand" #6

Open avose opened 10 years ago

avose commented 10 years ago

The user/player really needs a private hand that only they can see. I'm thinking the most simple fix is a "private" flag that can go on an image/card. If a card is private, the opponents always see the back of it. The owner sees whichever side they have turned up on their end. There are other options for a private hand, but this would only require one little flag to implement...

jefflarkin commented 10 years ago

I think the easiest thing is to make the hand a separate, local svg. Dragging assets from one svg to another is actuality fairly simple. If done right, the user wouldn't even know they're two svgs.

avose commented 10 years ago

I see, what is considered "private" is based on spatial location. I like that. Then, all cards start in the private location, the user can drag them out to "play" them. Sounds good.