Answered

List Randomizer

  • 9 December 2020
  • 24 replies
  • 2501 views

Hi, I am wondering if anyone has any ideas on how to create a randomizer that would take a list of items or names and randomly select one. I currently am using the random number generator and associating it with a name but would like to have it automatically do this, as I am using it for a game I have built and I have to do this multiple times and it gets confusing for students.

icon

Best answer by Max Harper 11 December 2020, 03:12

@Savannah wexler  -- cc’ing @Kiron Bondale   

What a delightful idea!  Curious how your game is played.  

 

I was feeling in the Miro-community holiday spirit and this was just too tempting as a quick sprint of development.  It was a fun little build. Hope it suits your needs and delights your students.

 

Introducing . . . :tada:  

 

Your very own random Miro item selector.  

 

To Install it Please Send me Private Message: 


(not allowed to post install links openly in forum)

 

Here’s a demo. 

 

Enjoy!

 

@all  --- Let me know if you’re interested in exploring more features. :)

View original

24 replies

Userlevel 2
Badge +6

Are you looking to create this name randomizer as a miro app? And what language are you making this in?

Userlevel 7
Badge +14

@Savannah wexler - I can’t think of a workaround to achieve this, so would recommend submitting it as a wish list topic following the guidelines here: Wish List: Everything You Need to Know 🌠 | Miro

Kiron

Userlevel 7
Badge +11

@Savannah wexler  -- cc’ing @Kiron Bondale   

What a delightful idea!  Curious how your game is played.  

 

I was feeling in the Miro-community holiday spirit and this was just too tempting as a quick sprint of development.  It was a fun little build. Hope it suits your needs and delights your students.

 

Introducing . . . :tada:  

 

Your very own random Miro item selector.  

 

To Install it Please Send me Private Message: 


(not allowed to post install links openly in forum)

 

Here’s a demo. 

 

Enjoy!

 

@all  --- Let me know if you’re interested in exploring more features. :)

Userlevel 7
Badge +14

Great work in short time @Max Harper ! I could see many uses for this in the exercises I have in my courses. From picking a card to picking a number to picking where we will have lunch it does have many uses!

Will you be submitting it to the Miro marketplace for addition to the app gallery?

Kiron

Userlevel 7
Badge +11

@Kiron Bondale thanks for the kind feedback…  I love the ‘pick lunch’ … I definitively need this app at restaurants - where everything looks good.  Heck, I’d just like restaurants these days. 

About the marketplace…  I imagine it could make its way there. Its funny, it took us months to fine tune Clusterizer to market readiness… I feel a little weird putting an app out that took all of a couple hours.  But if it serves a good straight forward valuable purpose. Let’s get it out there! 

Do you feel it would be a welcome download by a marketplace user? Suggestions or ideas for additional features? I mean it could grow a few more functional components - random number, dice, coin, n choose k, move items randomly(scatter). Its kind of basic… maybe it needs to trim down and move from that side bar and be one of those plugins that launches from the bottom interface… or maybe it needs to grow and add a few more randomness features… or maybe its just perfect as it is. 

 

Userlevel 7
Badge +14

@Max Harper -

I think there are tons of potential uses for this so I’d absolutely see it as a valuable addition to the marketplace. I really love the fact that it brings the selected object to the top as that would enable simulation of a deck of cards, a dice roller or a coin flipper by just stacking images of each permutation on top of one another.

I can’t think of any enhancements at present - I’d need to play with it myself to come up with some!

Kiron

Userlevel 7
Badge +11

@Kiron Bondale   
That’s great feedback - I’ll mention it as encouragement as I discuss it with the marketplace team. 

Also: I couldn’t resist and added a feature last night: ‘Pick a Random Number between min and max’.  I realize others have built this as well… but maybe I made a useful twist. If you’ve installed it the new feature should now be available to you.  Cheers, Max

 

Pick Random Number Between Max and Min:

 

The line isn’t necessary -- I’m depicting the line here to show the line along which the chosen number gets created.

 

It creates the randomly chosen number into its respective place on a number line between min and max. 

Demo of Pick Random Number

 

Userlevel 7
Badge +14

@Max Harper -

I really like the list randomizer capability - just gave it a quick try and it works great! The random number generator might have a small glitch in it - when I pick two consecutive numbers (e.g. 0 & 1), it always seems to generate the first number (e.g. 0). I tried it seven times in a row, and it broke the “rule of seven” by always picking zero.

I might have to spend some time over the Xmas holidays retro-fitting some of my existing class boards to take advantage of this!

Kiron

@Savannah wexler  -- cc’ing @Kiron Bondale   

What a delightful idea!  Curious how your game is played.  

 

I was feeling in the Miro-community holiday spirit and this was just too tempting as a quick sprint of development.  It was a fun little build. Hope it suits your needs and delights your students.

 

Introducing . . . :tada:  

 

Your very own random Miro item selector.  

 

Install it here:

 

Here’s a demo. 

 

Enjoy!

 

@all  --- Let me know if you’re interested in exploring more features. :)

Thank you so much! Cant wait to use it!!

Userlevel 7
Badge +11

@Kiron Bondale 

Nice catch! 
...was thinking about it for a second. The algorithm is set to catch the nearest integer between min and max- which it first calculates in real number/floating point, then rounds down (floor) to the nearest integer. That would explain “always choosing the lowest number”. I think the current algorithm includes the minimum. I’ll check. So to accomplish “pick 0 or 1” the two numbers would have to be 0,2… but this isn’t obvious.  
 

Some improvements thoughts 

  • maybe a toggle button “include min and max in range?” 
  • help text should mention only integers. 

I’ll work out some improvements by Tuesday and might add another feature/module… started on it last night. 
 

cheers - max 

Userlevel 7
Badge +14

Thanks @Max Harper - this wouldn’t be an issue for most random number uses, but it would for things like flipping a coin although that could be done with the first list randomizer feature you had developed.

Kiron

Userlevel 7
Badge +11

@Kiron Bondale - indeed: pick A or B is a subset of pick one from a list.  I have some time and will attempt some more improvements today. I’ll keep you posted. Cheers :)

Userlevel 7
Badge +11

@Kiron Bondale  

Added another feature to “Totally Random”  --- > Divide selection into X Number of Groups 

 

Also added a touch of help text to the number module as well. 

 

https://www.youtube.com/watch?v=j4p1unELgko

Looks like the youtube embed in the forum here is broken. 

 

Here’s some images:

 

 

Userlevel 7
Badge +14

@Max Harper -

That is a cool addition - I could see myself using it to split a workshop up into individual breakout groups. 

Kiron

Userlevel 7
Badge +16

@Max Harper - Thanks for this! One thing I noted that I will point out in case of future support questions regarding custom web-plugins you develop for clients is that I just noticed the bottom/Shuffle option in the left sidebar was cut off due to my Windows laptop upscaling my display to 125% when I am disconnected from my doc/monitor.

 

I was still able to use it by tabbing to the action button.

Cheers!

Userlevel 7
Badge +11

@Robert Johnson   Ah yes. 

Looks like the scroll doesn’t get you to the bottom, correct?   I’ll go fix that.

 

Userlevel 7
Badge +11

@Robert Johnson   Pretty sure I fixed that issue.   Thinking of adding a random ‘scatter’ tool. Shuffles and repositions within the current view of the board.  

Userlevel 7
Badge +16

@Max Harper - It’s scrolling a little further now, but not quite all of the way. Perhaps the scaling windows is applying and the size of my screen (13”) just isn’t something easily fixed, without maybe adding a bunch of whitespace at the very bottom - but thanks for taking a look!

 

Userlevel 7
Badge +11

@Robert Johnson   I see now… 125% scaling … got it. Will work on it more tomorrow. 

Userlevel 7
Badge +11

Oops Sorry -- Think I missed the update push to production.  Was a busy day. 

Please try again: LMK how goes. 

 

 

Userlevel 1
Badge +2

This is great! Thank you, Max. I can have vocabulary images randomized for students to spell or describe. I can shuffle story pages and have them retell the story in a different order or explain why this order is not correct. 

I love this feature, however I have not been able to install it for my team. Strangely, one of my team members could install it for herself, but I could not do it. 

 

Does Max or anyone else have an idea why this might be? 

Thanks a lot, 

 

 

 

Userlevel 7
Badge +11

Find Totally Random on the App marketplace: 

 


Just added a deck of card-style shuffle feature tonight. 
 

@irinap @G Kortum @Robert Johnson @Kiron Bondale @Sami Ljimari @Savannah wexler 

Userlevel 1
Badge +2

Thanks, Max! Just in time!
 

I actually found it some days ago, but our first day of school was yesterday, so the whole week was prep time and couldn´t get off a thank you note. Thanks again.

Now it is Miro Time.

Reply