Hello everybody,
getSelectedItems method of Stock object doesn't return items' weights. It's useful for me having the weight of selected items because I have to order them and to check if they are in sequence. I'm using the same items structure present in Hearts, but in my game the ace comes before the 2 and not after the king.
Can getSelectItems return also the weights? Is it possible to add this feature?
Another question: I see that, when Play button is clicked in Hearts, controls are done in the server side instead of do them in client side. What's the best way? Should I do controls in client or server side?
Bye
Emanuele
getSelectedItems method of Stock object doesn't return items' weights. It's useful for me having the weight of selected items because I have to order them and to check if they are in sequence. I'm using the same items structure present in Hearts, but in my game the ace comes before the 2 and not after the king.
Can getSelectItems return also the weights? Is it possible to add this feature?
Another question: I see that, when Play button is clicked in Hearts, controls are done in the server side instead of do them in client side. What's the best way? Should I do controls in client or server side?
Bye
Emanuele