App "problems with a slot machine"

ANDRES.aia (28.4 KB)

This slotmachine doesn't work, the blocks are the same of another I see in internet.

A link to the one you see on the internet would help ?

kio4.com/appinventor/1Ctresiguales.htm

Have you tested the example aia project provided on that web page? It works OK here.

Change manjana to manzana.jpg, limon to limon.png and cereza to cereza.jpg

Also try this if you wish tha attached aia, I modify the code a little bit. You can change the wining and losing conditions according to your needs

ANDRES_1.aia (27.3 KB)

Yes It's work

However, they were not the same... the devil is in the details :smiling_imp:

1 Like

I want to know the devil detail, I can't find it

1 Like

See below the changes you should make. First in Designer rename images from Manzana, Limon, Cereza to Image1,Image2 and Image3 in order to understand better the procedure later in blocks. Also change Reloj time interval to 200ms

In blocks change to

With the blocks you used actually no changes where made cause for the same values of x,y and z image is always the same for example for x=1 y=1 and z=1 manzana is set to manzana (here you should also use image type extension png or jpg)

Hopes that helps you :slight_smile: understand the ...the devil is in the details :smiling_imp: