Thursday, May 18, 2017

Proof of the probability fair in roulette

We determine the outcome of roulette game in a provably fair manner. What this means is that the outcome of the game cannot be changed after the game, and the user can easily verify it.

To select the outcome, we use a server seed (long random string) and client seed (long random string). Before every game, the user can note the hash of the server seed. Then after the game , the server seed is revealed and the user can verify that it is the same by calculating its hash.

Hash function is a cyptographic operation which generates a long string from any input string in such a manner that the input string cannot be obtained from the output string and the output string is always the same for same input string. The output string is called hash of input string.

To calculate the outcome from client seed and server seed, we use a cyptographich function which generates hash from server seed and client seed. We take first 5 characters of the hash and then convert it into a number. If the number is below 1000000 we take that number otherwise we take next 5 characters and convert it into a number, till we get a number below 1000000. We take the last 4 digits of this number and divide by 100 to get a number between 0 and 100. Finally, we use this as a percentage value to calculate the outcome index from list of outcomes.


The actual algorithm:
 
                                    
$hmac=hash_hmac('sha512', $serverseed, $clientseed);
$found=0;
for($i=0;$i<strlen($hmac)-5;$i++)
{
        $hexnum=substr($hmac,$i,5); 
        if(hexdec($hexnum)<1000000) 
                {
                        $found=1;
                        break;
                }
}
if($found==0)
{
        $roll=99.99;
}
else
{
        $temp_roll=(hexdec($hexnum))%10000;
        $roll=round($temp_roll/100,2);
}
$output_index = floor($roll / 100 * $options_count);
$prize = $options[$output_index] * $bet_amount;
                        

Saturday, December 3, 2016

[Important Noice] Cause of system instability in Nov 2016

After renewal, we observed the system down once for a few days interval.
Having investigated the issue, we found someone is attacking our site with random id and password trials.
The login attempts were too many at the same time so that our system could not keep on live, then eventually downed.
To prevent this attack, we have implemented the captcha function on login page. It would be one more extra effort for you to login, but we hope you could kindly understand.

Since we ban the account if the login attempts to that specific account are failed a few times in a row, it is less likely user accounts are hacked.
Rather it seemed to us that attacker found or stolen some id/password set somewhere else, then try those to our site.
If you are using the same id/password pair somewhere else, we recommend you to check your balance page see if any unintended payout request was made or not. Also we recommend you to change the password in this case.

Should you have further question on this matter, feel free to ask admin.
Thank you very much.

Sunday, October 30, 2016

Facebook login

In the renewal of this quiz site, we added a new feature: Facebook login.


If you are new to Satoshi quiz, register with Facebook will let you connect both Facebook account and Satoshi quiz site account together. The advantage is you don`t need to memorize so many different logins and can reduce registration works.

 VS
 

If you are using the same email on both Facebook and Satoshi quiz, your Facebook login will connect to your existing account. On the other hand, if your registered email is different from Facebook, your facebook login will generate a new account automatically. So please be careful if you find your account information is different after Facebook login.

You can check your registered email address on My Account Page as follow.   


Wednesday, October 26, 2016

Ranks

Wow! Time to talk about this exciting topic!
As prize is affected by your rank, it is very important to know how it works.
Ranks are based on the number of correct answers a user has given. Ranks are updated once a day. A user with better rank means he/she has more experienced and a better record. Also the prize for general quiz is adjusted for rank as follows:
Rank is based on the number of correct answers
For the detail, please refer following link
http://www.satoshiquiz.com/help.php#collapse10
According to our record, As of today (2016 Oct), following number of people have positioned in higher ranks.
Rank 1= 1 user
Rank 2= 4 users
Rank 3= 10 users
Rank 4= 19 users
Rank 5= 113 users
Which rank are you in now?

You can check your ranking in “My Statistics” under “My account”. Work hard!


Saturday, October 22, 2016

A Survey regarding this new site

As you might have noticed on our site announcement, we are now having the survey for our renewal site.
https://docs.google.com/forms/d/e/1FAIpQLSfRyjFMvXIpOUERDfxO8sEDwIagPVT8CLU0xuSSqJT4bDOHVA/viewform


If you could kindly participate to this survey, we would reward 10,000 satoshi (*) as a token of gratitude and will be added up on your account directly. 

The temporal URL of the new designed site is following.
http://test.satoshiquiz.com/
(Please note that this site is purely for pilot test purpose, statics will not impact on our current site, also payout will never happen)

We tried to achieve three things at this new site
1. More Intuitive User Interface
   * Provide easy page navigation having menu structure
   * Make the site concept(quiz site to get bitcoin) more clear by showing bitcoin image character.
   * Truly responsible design on portable devices as well as PC.
2. Improve Performance
   Improve algorithm to process more transaction and historical data as the site grows
3. Introduce New Function
   Facebook Login function 

Everyone's opinion is important for us. Your participation is highly appreciated.


* Eligibility to receive 10,000 satoshi
You must be at rank 5 or higher on our satoshi quiz. The premium users have eligibility regardless of their rank
Due date of this survey is 28th Oct.  


Monday, October 17, 2016

Hot categories in Solo Challenge

We believe some of our users enjoy our solo challenge mode in addition to Faucet mode. 

We have 10 quiz categories on Solo Challenge, which one is your favourite?
Which one do you think is the most popular?
Here are the top 5 Solo Challenge categories:
No.1: Science
No.2: General Knowledge
No.3: Movies
No.4: Geography
No.5: Music
Is it as same as you thought?
Actually No.1 and No. 2, Science and General Knowledge are very close to each other in sense of popularity.
Maybe our users are mainly scientist? Or belong to science group?
General Knowledge is popular as well. Guess most of our users play it if they are not confident in other categories.

Since Solo Challenge needs some small fee to participate, it may be tough for beginners, but it could be profitable option for those who have already used to our platform.. Why not try it today? 



Tuesday, October 11, 2016

Numbers

We remember some of our users questioned about the number of our platform in chat. Have you ever thought about what is the meaning of the following numbers?
1. The number inside the brackets. Example: Satoshiquiz (3599). The winner on Award page.
2. The little star next to winners` names.


For no. 1, the exact meaning depends on different awards. The number inside the bracket on Award Winner Board is the number of total correct answers that user has answered. In Hall of Fame, the number is accumulated from the very beginning when the user joined our quiz. Some users has a very high number! Means they have answered so many questions! Thank you!

For no.2, there is a little star next to winners' names in faucet mode. If you look closely, you can see a tiny little number inside the star. This is the rank of the user. Different ranks with different colors. Actually, it is just a little trick for users to easily recognise other users are in same rank or not. If you could not see it clearly, please go to “My Account” --> "Award"page, you can find your rank in “Statistics” section.


Interesting? Let us know if you find any other interesting numbers in our site.