Picking a random item, Is there a quicker way instead of doing this?

To pick a random item from a list these are generally the blocks to do it.
How many words do you have?
For many words instead of the make a list block you could use the list from csv row block and add your words in csv format to reduce blocks

Taifun

I would like to do this way-

I want a lot of items. Like, 150 words at least and then have it pick a random one. I tried the list on display first but there is no block to pick a random item from there

Store the words in a text file in csv format, upload it in the media section as asset into your app. Then use the file component to read it

See some example blocks for the conversion from csv fornat to a list by @eAcademy

Taifun

Search this board for Wordle for sample code.

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