Streamline and syntax questions.
I'm not very good at this, so bare with me.
I have been trying to figure this meaningless puzzle out and I will not stop until
I you figure it out for me! ;)
I am making a puzzle that has 7 pictures, 6 of them are pics when arranged correctly will make the desired picture, the other pic is of a blank. each time you press a picture other than the blank, it will switch positions with the blank. when all are arranged correctly the pictures should revert back to scrambled form.
I have it so it works, but the code is really huge. I need a way to figure out how I can get the image object like
here. That way I think I could make a
for statement that would make the code much, much smaller. (You'll see!)
Then I need to figure out the proper way to use the
if && operand. That is if I can use it for the purpose I intended to use it for, everywhere I looked it was only used twice.
( The code so far.Collapse )Thanks!