Hello, I created a memory game with a YT tutorial, but my images are not shown, I already try some hours. Could someone please help? Thanks! In the next few hours I am not online, but later in the evening again. Thanks!
Best,
Martina
Good evening,
Thank you ABG. Here is the tutorial link:
But unfortunately, still I do not understand the issue. Did I count the images wrong in the programming part? In the tutorial they have six different images. I have discalculation problem in math and even if it is easy, so it can happen, that I count wrong. Sorry!
Tomorrow, I will have a closer look on your answers and on the app in appinventor2. Thank you very much!
Best,
Martina
Also, comparison of the pictures of the flipped cards will never match, because you made all the picture names unique by adding 1 and 2 to the picture names.
Dear ABG, Thank you. I put now the initialise cards block with the buttons in a procedure with the name "createList". But the issue with the pairs I do not understand. Every card has to be online twice for a pair, but if they have the same names, then the system will overwrite the first image with the same image name. Could you please tell me, how I should name the images? This was not shown in the video tutorial. Thank you very much!
Best,
Martina
and created a procedure for the loose part of the block you have mentioned. It looks like this (but still there is an issue with the images, please have a look at the screenshot):
Start the game in the Companion , and before flipping the first card, apply Do It in the blocks editor against a block that gets the global variable cardpairs.