I'm modifying the reversi tutorial with my own play pieces, but it seems that once my piece(token) is temporarily placed on the board, I can no longer click on the squares underneath which it covers to register the below type event.
Should I client-side auto-refresh my click 'detection' squares whenever a game token is temporarily placed on top so they are back on top? Or something else easier I'm missing with how the squares are defined/click-detected?
Thanks
Code: Select all
dojo.query( '.square' ).connect( 'onclick', this, 'onPlayDisc' );
Thanks