i wanna show you how to create "roll a dice" app in app inventor.
first, create a new project in app inventor.
then, go to design section
add 1 button and 1 image.
button 1 for roll a dice and image 1 for dice number
Thanks for your efforts, but i dont think it's a good tutorial, since this IF THEN ELSE IF block is not necessary, just a JOIN TEXT block will do same work.
Yes , certainly it works
But as you know if we have pictures with different formats or if we wanna use dynamic_named pictures, we cant use this algorithm
In fact your algorithm is correct ,
And my algorithm is correct too
Thanks for your comment
The part before the "if-else"es draw the outline of the dice, while the 'if-else"es draw the dots by determining the number, e.g. if it is odd or even, or if it is larger by 3.