Steemit Random Picker Update 3

in utopian-io •  7 years ago  (edited)

Bug Fixes

  • Winnerdetermination

By selecting multiple winners, the tool allowed to draw the same participant over and over again. This behavior was not intended and got get fixed. From now on, the user can decide on his own whether or not drawing the same participant is allowed.

picone.png

All whats was need to be done is to remove the tickets from the drawn one out of the pott, if multiple drawing isnt allowed.

New Features

  • Improved UI

From now on, there is a tabmenu to allow easier navigation through the application. Also these tabs will provide related content, which feels way more cleaned up than in the previous version of the application.

Datacollection Tab:
tab1.png

Within the Datacollection Tab, there is now one formula to get all related informations about the steem blogpost.


Participants Tab:
tab2.png

Within the Participants Tab, there is now the add Steemian functionality and also as in the previous version the possibility to remove the participants.


Winnerdetermination Tab:

tab3.png

Within the Winnerdetermination Tab, there is now the form to call the winner determination. Additionally, the user can now choose between allowing to draw the same participant from the pott over and over again or not

  • Loading Notification

loading.png

By doing async calls to the steemit api, the user will now see that the programm is actually doing something.

What's planned next?

  • There will be the possibility to weight each user action within the winnerdetermination tab.

  • The participant list will show which actions of the user got fullfilled.

  • There will be a winner tab instead of the current notificationmessage with some additional data showing, maybe winrates and so on.

  • There will be the possibility to export the outcome of the lottery

Commit Link

Github


German Version of the tool

English Version of the tool



Posted on Utopian.io - Rewarding Open Source Contributors

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

It's only natural that there will be a few teething issues or glitches when developing something like this.

But, I believe they will be worth it in the end. Tools like this that are being developed are gonna make the community stronger and create enhanced engagement in the long run.

Respect to you for the time you put in and for creating value for us all going forward.

Good job :)

Thank you for your recognition, really motivating. Happy easter!

Congratulations @snackaholic! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.

To support your work, I also upvoted your post!
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!

Do not miss the last announcement from @steemitboard!

Hey talk to me on Discord I have a question/concern about the way the winners are determined ScottCBusiness#5242

Yeah sure, check your pm´s ;) If you want some prove of randomness, there was a post here. It is on german but the important part is the way the people get drawn. If you put this code into your developer console, you will see the outcome is at about the same for each one withing the array. (since randomness must not have a memory, every draw is still the same percentage of 33.3333% for each one).

function giveRandomItem (array) {
return array[Math.floor(Math.random() * array.length)];
}
var array = ["Pia", "Peter", "Paul"];
var ergebnissePia = 0;
var ergebnissePeter = 0;
var ergebnissePaul = 0;
for(var i = 0; i < 100000; i++){
var ergebnis = giveRandomItem(array);
if(ergebnis === "Pia"){
ergebnissePia++;
}
if (ergebnis === "Peter"){
ergebnissePeter++;
}
if (ergebnis === "Paul"){
ergebnissePaul++;
}
}
console.log("Pia: " + ergebnissePia, "Peter: " + ergebnissePeter, "Paul: " +ergebnissePaul)

Also there is the possibility to check out the source code here. Just pm me incase the question wasnt about this :P Happy easter

Great stuff! Love it

@resteemator is a new bot casting votes for its followers. Follow @resteemator and vote this comment to increase your chance to be voted in the future!

Thank you for the contribution. It has been approved. In your last post, it was mentioned by the moderater that you should add instructions on how to install it locally and it has to be written in your README file of your repo.

You can contact us on Discord.
[utopian-moderator]

Hey, as I stated last time, this is a webapplication, running in the browser. There is no need to install it locally, how should I mention this in the readme? Thanks in advance

You should mention by which file you should run which opens in the browser and that information should go in the README

Hey @snackaholic I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Congratulations @snackaholic! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

Upvote this notification to help all Steemit users. Learn why here!

Do not miss the last announcement from @steemitboard!