Page 1 of 1

Help needed

Posted: 14 April 2020, 03:06
by SushiMaki
Hi,

I'm building a card game based on Heart and I need to start a new hand with an interface asking every player how many hands they'll win and what will be the trump color.

I thought about having a multiple choice dialog but I'm unable to display it.

Anyone could help?

Pierre

Re: Help needed

Posted: 14 April 2020, 18:55
by apollo1001
I'm thinking this would be similar to the bidding boxes in Bridge. If so you could have these built on a div which you show/hide when you need it rather than using a dialog.
To show: dojo.style('div_name', 'display', 'block');
To hide: dojo.style('div_name', 'display', 'none');

Re: Help needed

Posted: 14 April 2020, 21:16
by SushiMaki
Thank you! That’s a good idea!