LuckChain Forum

Please login or register.

Login with username, password and session length

Author Topic: LuckChain guessing rules and tutorials  (Read 1818 times)

admin

  • Administrator
  • Jr. Member
  • *****
  • Posts: 58
    • View Profile
    • LuckChain
LuckChain guessing rules and tutorials
« on: September 27, 2016, 12:11:13 pm »

LuckChain guessing rules and tutorials
  As is known to all, block's hash string is 64 hex (0 ~ f) characters, and each block is different and unique. the future block's hash string is unknown and cannot be intervened by man. Based on these characteristics we have developed LuckChain guess system. Here we will introduce the rules of the game taking its genesis block as an example.
As shown below, input getblockinfo 0 in console of debugging window in LuckChain client and press Enter:

Genesis block’s hash string is “00000bc87d0385e25417c877e00e959087e8eebbf76722dfcff9e76da7cbf3ea”.


In addition, three points should be noted:
“Launch a guessing” and “Join a guessing” in LuckChain are a send coins transaction, “Encash” is a receve coins transaction.
“Launch a guessing” and “Join a guessing”mean send coins to burning address “B4T5ciTCkWauSqVAcVKy88ofjcSasUkSYU” and includes bet parameters text in the transaction.
“Target block” in “Launch a bet” UI is a relative value. The real target block is includes the betting transaction's block number add this relative value, it's mean that includes betting transaction's block number + “Launch a bet” UI “Target block” value = the final target block number.


1, Lucky 16 (Man-machine to War):
The player inputs a certain amount of tokens to guess the last digit of hash string in a future block. If the player gets the right digit, he will get 15 times the amount he inputs as an award while if he does not get the right answer, the tokens he inputs will be burned.
We assume “the target block” hash string is “00000bc87d0385e25417c877e00e959087e8eebbf76722dfcff9e76da7cbf3ea”, then the winning number is “a”.
One betting you can guess multi(max 15) times and the rules are as follows:



2, Lucky Odd or Even Number (Multi-player Game):
The player inputs a certain amount of tokens to guess whether the last digit of hash code string in a certain future block is an odd or even number. When the targeted block appears, the winners will share all the tokens input by the players according to the proportion of their initial input. If no one gets the right digit, the tokens input will be burned.
We assume the target block hash string is “00000bc87d0385e25417c877e00e959087e8eebbf76722dfcff9e76da7cbf3ea”, because the last char is “a”, a=10, 10 divide 2 and the remainder is 0, then the winning number is “even”.


3, Lucky Big or Small Number (Multi-player Game):
The player inputs a certain amount of tokens to guess whether the last digit of hash code string in a certain future block is big or small (0~7 is small, 8~F is big). When the targeted block appears, the winners will share all the tokens input by the players according to the proportion of their initial input. If no one gets the right digit, the tokens input will be burned.
We assume the target block hash string is “00000bc87d0385e25417c877e00e959087e8eebbf76722dfcff9e76da7cbf3ea”, because the last digit is “a”, a=10, 10 is bigger than 7, then the winning number is “big”.


4, Lucky Boss (Multi-player Game):
The player inputs tokens to randomly select six characters among 64 characters of hash code in a certain future block. When the targeted block appears, the player whose selected characters bear the maximum digital value would be the winner and could win the tokens of all the players.
We assume the target block hash string is “00000bc87d0385e25417c877e00e959087e8eebbf76722dfcff9e76da7cbf3ea” and you choose “15,63,37,7,22,56”, then:

Who selected a maximum digital value then he is winner.


5, Lucky Lotto (Multi-player Game):
The player inputs a certain amount of tokens to guess the last N digits of hash code string in a certain future block (it shall be determined by the sponsor). When the target block appears, if someone gets the right digit, the bonus pool will be divided according to the proportion of tokens they input.
We assume the target block hash string is “00000bc87d0385e25417c877e00e959087e8eebbf76722dfcff9e76da7cbf3ea” and difficulty is 6, which means guess the last 6 digits, then the winning number is “cbf3ea”.


6, Forecast real event (Multi-player Game):
The player inputs tokens to guess the result of a real-life event. For example, guess whether Donald Trump will win the 2016 US presidential election, and the winners will share all the tokens input by the players according to the proportion of their initial input. If no one gets the right digit, the tokens input will be burned.
The result of this game is set by the referee and is independent of the target block hash string. We assume guess rule (title) is “Donald Trump will win the 2016 US presidential election, if you choose yes please enter A, if you choose no please enter B, and we also assume “Donald Trump won the 2016 US presidential election at last”, the result set by the referee is “A” , then the winning number is “A” and those who choose “A” will be the winners in this bet.
Note: it is very important to set the correct target block in Launch a bet. Theoretically a block represents one minute. “Target block” in “Launch a bet” UI is a relative value. Assume we set it 60, meaning this quiz will be over in 60 minutes, then we should finish this betting before “the result of it” comes out. Please do note this point.

George3k1

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: LuckChain guessing rules and tutorials
« Reply #4 on: November 27, 2017, 05:51:33 pm »

Introduction with pictures I think is a very good way.
Logged