CSGO Lottery App

Zamknięty Opublikowano Nov 7, 2015 Płatność przy odbiorze
Zamknięty Płatność przy odbiorze

I need a programmer to make an app like [url removed, login to view] where some random steam players put their skins worth 5$ (the higher the value the player bets, the higher the chance he wins the jackpot - ) or more and when the pot hits at least x (definable via config or admin backend) entries or 5 minutes the system randomly selects one player and all the skins of guns in counter strike global offensive is awarded to him through steam trade offer. This would be using Steams Trading Link system and steams api login. I need it simple in Bootstrapped style for mobile usage.

Parameters that need to be set via config: Number of entries to calculate the winner, house edge in percent to keep after every round.

Provably fair system of the jackpot:

There are three elements that allow you to verify that a round was fair, they are:

The winner percentage

The winner percentage allows you to discover the winning ticket number.

To uncover the number the system uses the formula floor( ( NumberOfTicket - 0.0000000001 ) * ( (WinnerPercentage / 100) ) ), where the floor function rounds a number downward to its nearest integer.

After doing the math you'll end up with a integer that contains the number of the winning ticket, from there you will only need to count the number of tickets, starting at the beginning of the round (being that we give 1 ticket per each 0.01$ deposited) and you'll find the fair winner - please note the fair winner is zero based, so the first ticket starts on zero, and goes from there (in the example bellow we are already incrementing the ticket number for you).

The round secret

The round secret is generated at the beginning of the round but only shown at the end, and it's meant to encrpyt the winner percentage and allow you to verify the winning ticket via the round identifier.

The round hash

The round hash is an md5 string that is given at the beginning of the round, it is generated by joining the round secret with the winner percentage, separated by a "-", so a round hash is an md5 encrypted string of "[roundSecret]-[winningPercentage]".

HTML Node.js NoSQL Couch oraz Mongo Redis Projektowanie stron www

Numer ID Projektu: #8857698

O projekcie

4 ofert Zdalny projekt Aktywny Dec 14, 2015

4 freelancerów złożyło ofertę za €3257 w tym projekcie

farrukh143

Hi, I hope you’re doing well. I am website developer and graphics designer. Also I have team of 5 members. So we can provide you all type of work with high quality and very reasonable prices. You can also check Więcej

€5000 EUR w ciągu 15 dni
(12 Oceny)
4.1
sstfreelancer

A proposal has not yet been provided

€5555 EUR w ciągu 60 dni
(0 Oceny)
0.0
SupremeInfoTechS

A proposal has not yet been provided

€222 EUR w ciągu 30 dni
(0 Oceny)
0.0