[messages] [Module Design] How to - implement a button on a board ?

kerkael kerkael at gmail.com
Sat Mar 10 18:15:42 CET 2018

Hi all, this is a question.

__How would you implement a button on a board ?

__Do you have a game module with such an implementation available for
looking at your code ?
I think of 2 possible buttons : press and remained pressed / press and
immediate release

If the button is pressed, how do you change it's color/border ?

Should it be a piece that can't move but with some additional options to
change it's image once activated/pressed ?

Thanks for your ideas/suggestions/code.

Read this topic online here:

More information about the messages mailing list