label "this is not your turn"
Posted: 29 April 2015, 21:31
Hello, in the game "Hearts", when we play a card and we are not allowed to, there is an error message "This is not your turn".
I cannot reproduce it for my game (KQJ) now, and when I look at the code of Hearts, I don't see where this error message comes from, and thus I don't know how to make it appear in my game.
In javascript, I use exactly the same code (which returns false) :
if( this.checkAction( 'playCard', true ) )
{
...
Do you you have any idea please ?
Thanks in advance for your help
I cannot reproduce it for my game (KQJ) now, and when I look at the code of Hearts, I don't see where this error message comes from, and thus I don't know how to make it appear in my game.
In javascript, I use exactly the same code (which returns false) :
if( this.checkAction( 'playCard', true ) )
{
...
Do you you have any idea please ?
Thanks in advance for your help