lundi 29 juin 2015

Random name picker based on points

I'm kinda noob in this stuff and that's why i always use ready-to-use scripts, etc ... I have searched around the network for such a script, but i didn't find any so i decided to ask here.

What I need is a script (javascript/php) that i can insert into my html page which should do the following.

I want to have one textbox1 where i type some name and textbox2 where i type some points then an add/remove button and a list to show the names that has been added and their points. Then a button again that will pick some of the names based on their points. So what i want to do is to make it that the name who has more points to have the better chance to get picked up. Thanks in advcance!




Aucun commentaire:

Enregistrer un commentaire