[Block of code that randomizes from a list]

I feel dumb but i've been searching all over the forums and I can't seem to find anything on this topic. I need help making one and don't even know where to start as im a beginner to this. Maybe one of you could help me?

The simple way

randomItemList

More complex ways

Sajal's advice https://imagnity.com/tutorials/app-inventor/shuffle-list-unique-random-numbers/

Taifun's advice * How to pick a random item from a list without picking duplicates?

Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.

There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles

How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also look here http://kio4.com/appinventor/index.htm and here http://www.imagnity.com/tutorial-index/ for more tutorials.

Learn about components http://ai2.appinventor.mit.edu/reference/components/
and visit the Library http://appinventor.mit.edu/explore/library Help>Library on the MENU

Thank you, would of never found that block :sweat_smile:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.