How can i get my score to change if they guess the correct image name


im trying to make it where one of the 2 player have to guess the image name and if they do they get a point then a new image is chosen can anyone help

(you can drag-and-drop the image directly into the blocks editor, but make sure to delete the existing event first)

Make sure to set the initial value of "CurrentDingbat" to 1, because list indices in App Inventor start from 1.

blocks (18)

i've tried using it and it gave me a error any reasons why

You only can add numeric values, but not some filenames...
Taifun
PS: I moved your thread into the category #App I ventor for iOS

1 Like

use Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools
Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

My bad, replace "set Dingbats" and "get Dingbas" with the corresponding blocks for CurrentDingbats.