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


29 replies

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

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 1

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

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

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>

 

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.

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>

 

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 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/

 

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!

Userlevel 1
Badge +2

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>

 

It almost works! There’s some broken code on dm.tools when you try to set up a room. If they fix it, then this could be the solution.

 

@Bubble D Not sure what you mean by “try and set up a room” but I put that iframe code in my Miro board and the basic dice rolling functionality works fine for me. 

 

 

Userlevel 1
Badge +2

@Bubble D Not sure what you mean by “try and set up a room” but I put that iframe code in my Miro board and the basic dice rolling functionality works fine for me. 

 

 

In order for another participant to see what you rolled you would need to be each screen sharing each time it was your go, which would slow a game down and wouldn't be fun. Otherwise these dice websites create rooms, with a URL and room name, where you can set your game up and it keeps track of everyone's username and score. If this website fixed its room function it would work perfectly with Miro for collaborative d&d. 

Ah got it! I had yet to test it with my group yet. That’s ok as long as people have a tool to roll with. I trust my players not to cheat dice rolls

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. 

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 7
Badge +14

@tpftg -

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

Kiron

Reply