open-vanilla / MTGLifeCounter

A app to track life and perform simple tasks for mtg
1 stars 0 forks source link

Add Dice roll ability #3

Open john-wilkinson opened 8 years ago

john-wilkinson commented 8 years ago

Add the ability to roll a dice for each player on the field.

mayesidev commented 8 years ago

Questions-

  1. Do we want to have this just roll a single number (and players can push the roll button as many times as they each would like), or should this roll X dice simultaneously (where X=number of players)?
  2. Do we want this to look like a dice roll (either by displaying a dice rolling animation, or cycling through numbers), or just straight-up pick a number between 1 and n (probably 6) and display that?

My input-

  1. I think it's probably clear we'll want the second choice here (display a die for each player and roll them simultaneously)- I just wanted to check.
  2. I'll suggest that the cycling through numbers idea would be simple-ish (as opposed to some sort of 3d bouncing die animation), and would add a lot more user satisfaction than just displaying a number for each player. I'll go further and suggest we implement this by randomly selecting a set of several numbers (let's say 10), and cycling through them all before holding on the last one for a few seconds. We could also display a Win/Loss text by the die based on which player's number is higher; that way they can have faster recognition without having to see and process both die values. We can also avoid ties by just selecting another value to add to the set until there's a winner.