Hi,

In the context of a multiplayer online poker game (
http://pokersource.info/ ) I'm trying to figure out the proper way to
display the gender of a player in the JavaScript client that will
display as a gadget ( http://jspoker.pokersource.info/ ). The poker
server knows nothing of the gender of a user, it is only concerned
with its chips and the action at the table ;-)

At first I thought the JavaScript client could use the JavaScript
opensocial / gadget API to query the gender of a player sit at the
poker table. Assuming this information is made public by the
opensocial container, it seemed logical. However, there does not seem
to be a function to do that. And when Johan (another developer of the
pokersource software) pointed me to this post

http://groups.google.com/group/opensocial-api/browse_thread/thread/e61103dee8f23d40/a8001b7b1cbf7c2c?lnk=raot

I realized that I was probably thinking backward.

Since each poker player will install the poker application and
therefore grant access to some of its data to the poker server, maybe
the proper way would be for the poker server to collect the user
gender. The JavaScript poker client would then run a makeRequest call
to the server, asking for user information collected from the
opensocial container in order to change the CSS of the player
according to her/his gender.

I would very much appreciate you opinion : am I thinking right ?

Cheers

Reply via email to