Idea

Randomizer ( Dice, Coin, Percent, etc )


Userlevel 4

Do you ever found yourself between 2 colors for that icon, in a pair team you have a split decision, where to order food?
Sometimes you cant decide, lets the chaos help.

My suggestion is a simple input field where you write in a formula and send the result to the chat and the last result to a component ( sticker for example ) in the board.

The most know randomizer formula come from RPG tabletop  x D y +/- z
x = number of attempts
y = max number ( 1 to y )
z = value to increase ( + ) / reduce ( - ) from the total

Example:
1d2 = One random number between 1 and 2 → Toss a coin ( to your witcher ) → Output: 1d2 ( 1 )
1d6 = One random number between 1 and 6 → Simple die  → Output: 1d6 ( 3 )
2d6 = Two random numbers between 1 and 6 → Two simple dices → Output: 2d6 ( 4,5 ) = 9

1d100 + 10 = One random number between 1 and 100 plus 10 → Percent number plus 10 → Output: 1d100 + 10  ( 56 ) = 66


30 replies

Userlevel 1

I would add more to this feature.
There is a number of simulations for education or other purposes. Random Dice, Card and etc.

It could be a separate plugin/object to add “Dice Roll” to the board. We have even been trying to solve it with iFrame ;-)

Having a feature like this will unlock multiple universes of users: trainers, agile coaches, board game geeks, and so on.

 

Userlevel 7
Badge +14

Using iFrame, we have done it this way:

It works but is still a bit kludgy:

<iframe src="https://www.random.org/widgets/integers/iframe.php?title=Roll+The+Dice&amp;buttontxt=Roll&amp;width=160&amp;height=200&amp;border=on&amp;bgcolor=%23FFFFFF&amp;txtcolor=%23777777&amp;altbgcolor=%23CCCCFF&amp;alttxtcolor=%23000000&amp;defaultmin=1&amp;defaultmax=6&amp;fixed=on" frameborder="0" width="160" height="200" scrolling="no" longdesc="https://www.random.org/integers/">
The numbers generated by this widget come from RANDOM.ORG's true random number generator.
</iframe>

 

Userlevel 1

Thanks,

I've see your reply in another place and have tried your iframe. It works, but does not fit toy needs.

 

I need to roll 2 dice. It's not just to show a number, but two numbers at once. I'll try to change your approach to dice and let you know here.

 

The other case is to draw random one of 36 cards. This definitely doesn't work your way and require another implementation.

Still I hope for a plugin or a feature in Miro 😀

Userlevel 1

We needed also to able to roll dices so we did our own application server. The application server integrate a Miro Web plugin.

 

Project is open source and hosted on github : https://github.com/tpftg/dice.io

 

Miro documentation : https://github.com/tpftg/dice.io/blob/master/docs/miro.md

 

Hope it helps to resolve your dice issue ! :slight_smile:

Userlevel 7
Badge +14

@tpftg -

this is very cool - now I just need to find a web server to use to host it!

Kiron

Userlevel 1

@Kiron Bondalewe also made a small Heroku example, to get started with some hosting : https://github.com/tpftg/diceio-heroku

You might use following workaround. 

Embed to your miro board iframe of that video: https://www.youtube.com/watch?v=_VwOYXIsHqg 

When player press play, then stop it might be considered as roll a couple of dices.

Board example: https://miro.com/app/board/o9J_kuHkRHU=/?moveToWidget=3074457348768157518&cot=13

I followed the guide(s) , installed GIt,Heroku, uploaded the project,got the dev teamon miro and deployed the app, got Auth Token for the team, but I can’t see the app in any menu; no icon to click on.

 

Can you help?

Userlevel 1

@G. Ti. if the web plugin is correctly installed, you should have a dice icon added to the the bottom bar.

 

In the miro application, have you correctly filled the “Web-plugin url” like described in documentation : https://github.com/tpftg/dice.io/blob/master/docs/miro.md ?

 

Please note, that the Heroku server may take some times to launch, so before load your board, ensure that the Heroku server has started, for example displaying demo server application.

 

Please note, that the Heroku server may take some times to launch, so before load your board, ensure that the Heroku server has started, for example displaying demo server application.

 You are right. The server crashed.

Now i need to figure why…

 

Userlevel 1

@G. Ti.I think it *may* not a crash : Heroku free instance are automatically stopped if no web traffic after 30 minutes. Just access it again will start again the instance (which explain the start delay), but when started, response time is normal.

 

EDIT: i just saw your screenshot. Indeed it seems a server side Heroku issue. You should try to deploy again the application.

the only thing i can think of is the install:

 (failed to install “optional dependencies).

 

But I am no expert, not even an amateur.

Userlevel 1

the only thing i can think of is the install:

 (failed to install “optional dependencies).

 

But I am no expert, not even an amateur.

 

These are Yarn warning messages and is expected, nothing to worry about.

 

this time,no crash, i can use the app from heroku, but the app still does not show any icon on miro.

And when i “try it” on miro from the rest-api menu, it asks for board:write access.

Enabling or disabling that access does not change anything in a board.

Userlevel 1

this time,no crash, i can use the app from heroku, but the app still does not show any icon on miro.

And when i “try it” on miro from the rest-api menu, it asks for board:write access.

Enabling or disabling that access does not change anything in a board.


It is a Web plugin (javascript + html templates) and does not require write access. (It is not a Miro server side plugin application which may explain why the rest-api failure).

 

EDIT: also ensure web plugin url use HTTPS protocol.

 

To avoid post hijacking, let’s continue this discution in private messages.

problem solved!

Those are the bugs I had:

  1. deploying on heroku, I had to follow the detailed explanation on their website 
git add . $ git commit -am "make it better" $ git push heroku master 

(i got no dependency warning)

 

and then I moved the master to main:   https://help.heroku.com/O0EXQZTA/how-do-i-switch-branches-from-master-to-main

 

  1. creating app on miro

in the address for web-plugin, you need to add     miro/        at the end of the heroku address

ex:  https://blablabla.herokuapp.com/miro/

 

You might use following workaround. 

Embed to your miro board iframe of that video: https://www.youtube.com/watch?v=_VwOYXIsHqg 

When player press play, then stop it might be considered as roll a couple of dices.

Board example: https://miro.com/app/board/o9J_kuHkRHU=/?moveToWidget=3074457348768157518&cot=13

 

It is a “client only” workaround ; only the player who starts the video will watch the result.

he will obviously tell the results to the other team users, but in that case any “out of miro” application could work, including discord or phone app.

 

You can also try that link to a random generator widget (there was a link in a previous post); 

just set the parameters for each type of dice (between 1 and 4, 1 and 6, etc.) and make it non modifiable; make a iframe widget for each die:

https://www.random.org/widgets/integers/

 

It will also be a limited solution, one other users cannot see the results, but for all types of dice, not only d6.

Userlevel 3

Hello everyone!

Our development team has created just such a plugin.

The plugin is a dice that you can click on to get a random number. You can use this plugin to play some games or randomly select a person or whatever you want.

You can see how it works in this post: https://twitter.com/domagic4people/status/1301814827501924352 

The plugin is free. If you want it, let me know:sunglasses:

Userlevel 1
Badge +1

Hello everyone!

Our development team has created just such a plugin.

The plugin is a dice that you can click on to get a random number. You can use this plugin to play some games or randomly select a person or whatever you want.

You can see how it works in this post: https://twitter.com/domagic4people/status/1301814827501924352 

The plugin is free. If you want it, let me know:sunglasses:

Hey Alexander,

this is awesome! I’m super interested to give it a try :) 

Super interested! I would give it a try!

Hello everyone!

Our development team has created just such a plugin.

The plugin is a dice that you can click on to get a random number. You can use this plugin to play some games or randomly select a person or whatever you want.

You can see how it works in this post: https://twitter.com/domagic4people/status/1301814827501924352 

The plugin is free. If you want it, let me know:sunglasses:

Hi Alexander, I would like to give it a try! Will everyone be able to see your dice rolls? Thanks

Userlevel 2
Badge +2

Hi guys, using a temporary work around. Web page capture + your room & username on https://rolldicewithfriends.com. Unfortunately though, you have to navigate away from page to roll the dice and page does not auto update. You must click the manual refresh. 

If it was possible to embed https://rolldicewithfriends.com in an iframe, it would be perfect.

 

 

Hello everyone!

Our development team has created just such a plugin.

The plugin is a dice that you can click on to get a random number. You can use this plugin to play some games or randomly select a person or whatever you want.

You can see how it works in this post: https://twitter.com/domagic4people/status/1301814827501924352 

The plugin is free. If you want it, let me know:sunglasses:

Hey Alexander! I’m prototyping a game design project for an assignment, I’d love to be able to use your plug-in. Please share it with me as well.

Userlevel 1
Badge +2

Hey everyone, 

I’m working on a Sticker Randomiser, that I’m currently beta testing until I push it into the market place. 

It allows you to select a number of sticky notes and randomise them using a list of items you can also customise. My initial thought was to use this for Icebreakers, but there are also many more use cases. 

→ Here is the link to the project: https://www.facilitator.school/sticker-randomiser

After signing up, you get a link to the web plugin and occasional emails with questions about your experience or updates to the plugin. 

Was looking for a solution to this myself as my gaming group has been using Miro. I ended up using @Kiron Bondale‘s iframe solution but with the https://dm.tools/dice/ site. Here’s my iframe code:

<iframe src="https://dm.tools/dice/" frameborder="0" width="600" height="600" scrolling="no">
DM Dice Tools
</iframe>

 

Reply