I've been trying to accomplish the following:
I want a player to click blocks: if he clicks a block with a certain colour, he scores, but if he clicks outside the block or on a block with the 'wrong' colour, points should be subtracted...
I've been trying (boolean) instance variables, but can't seem to get the thing working.
Actually I only want to know if a boolean instance variable is the way to go or are there other ways?
Thanks in advance!