Pages:
Author

Topic: Ethereum TwelveBagger, multiply your ethers by twelve! (Read 1367 times)

newbie
Activity: 14
Merit: 0
Once again a new game, because all the previous games have been hacked  Grin

This new Twelve bagger uses completely new (hopefully hackerproof  Wink ) tech. Random number is generated by Wolphram Alpha and it is relayed to contract by Oraclize.

Games idea is to guess a number between 1-15 and place a bet to this number. If you guess right, you get your bet back multiplied by 12. Minimum bet is 0.1 eth and maximum bet is game balance/12.


address

0xf7D02347D055BD3a1FD66a7F187C4453fb6882AA

JSON


[ { "constant": false, "inputs": [ { "name": "myid", "type": "bytes32", "index": 0, "typeShort": "bytes", "bits": "32", "displayName": "myid", "template": "elements_input_bytes" }, { "name": "result", "type": "string", "index": 1, "typeShort": "string", "bits": "", "displayName": "result", "template": "elements_input_string" }, { "name": "proof", "type": "bytes", "index": 2, "typeShort": "bytes", "bits": "", "displayName": "proof", "template": "elements_input_bytes" } ], "name": "__callback", "outputs": [], "type": "function", "displayName": "__callback" }, { "constant": true, "inputs": [], "name": "Results_of_the_last_round", "outputs": [ { "name": "players_bet_in_Wei", "type": "uint256", "value": "100000000000000000", "displayName": "players_bet_in_ Wei" }, { "name": "last_result", "type": "string", "value": "Loss", "displayName": "last_result" }, { "name": "Last_player_s_lottery_ticket", "type": "string", "value": "2", "displayName": " Last_player_s_lottery_ticket" }, { "name": "last_player", "type": "address", "value": "0x68403559e710856f0d4519cfab56f74d39883263", "displayName": "last_player" }, { "name": "The_right_lottery_number", "type": "string", "value": "11", "displayName": " The_right_lottery_number" }, { "name": "Player_s_gain_or_Loss_in_Wei", "type": "int256", "value": "-100000000000000000", "displayName": " Player_s_gain_or_ Loss_in_ Wei" }, { "name": "info", "type": "string", "value": "The right lottery number is now ready. One Eth is 10**18 Wei.", "displayName": "info" } ], "type": "function", "displayName": " Results_of_the_last_round" }, { "constant": true, "inputs": [], "name": "Game_balance_in_Ethers", "outputs": [ { "name": "balance", "type": "uint256", "value": "1", "displayName": "balance" }, { "name": "info", "type": "string", "value": "Choose number between 1 and 15. Win pays wager*12. Minimum bet is 0.1 eth. Maximum bet is game balance/12. Game balance is shown in full Ethers.", "displayName": "info" } ], "type": "function", "displayName": " Game_balance_in_ Ethers" }, { "constant": false, "inputs": [ { "name": "Set_your_game_number_between_1_15", "type": "string", "index": 0, "typeShort": "string", "bits": "", "displayName": " Set _ your _ game _ number _ between _ 1 _ 15", "template": "elements_input_string" } ], "name": "Set_your_game_number_between_1_15", "outputs": [], "type": "function", "displayName": " Set_your_game_number_between_ 1_ 15" }, { "inputs": [], "type": "constructor" } ]

newbie
Activity: 14
Merit: 0
Previous games are now inactive and we have created a new game. Ethereum Eight Bagger.

See http://ethereumgames.net/instructions-with-screenshots/

In Eight Bagger you try to guess, what is the last character (0-9) of the timestamp of that block in which your bet is. If you guess right, you get your money eight times back!

Every Ethereum block has it's own timestamp, which is represented in Unix-time. Etherchain tools have converted this Unix-time to conventional time, but Eight-bagger uses original Unix-time, which is represented in seconds. 

If you want to check, that the time stamp was real, you can check the Unix-time in game's user interface in wallet and then convert it to conventional time e.g. here http://www.onlineconversion.com/unix_time.htm You can then compare that time to block time reported in Ethereum blockchain explorer e.g. here https://etherchain.org/

We game owners don't have any control of this block time, because it comes from block miner's computer.

Game engine itself is a smart contract in Ethereum blockchain. You can check game's source code here

https://etherchain.org/account/0xc78DAa292c7F44dCBf138Db81DC25272138F5AAf#code

After smart contract has been deployed to blockchain, no one can change the code, not even the original uploader. We don't have any control of the game engine. In conventional game you have to trust to game operator. In smart contract you don't need to trust anyone, because smart contract source code is verifiable and no one can change it.




hero member
Activity: 950
Merit: 510
Game keeps sending money back, how to play ?
If you want lost some ETH, you can to present to me, you make good deal Grin
newbie
Activity: 26
Merit: 0
Ok got it thanks.

With the current gas price, it's not worth playing Smiley
newbie
Activity: 14
Merit: 0
In Twelve bagger maximum bet is game's saldo/12. Current saldo is only 0.00221, so maximum bet is 0.00018 ETH Cheesy

Ethereum doubler can't be played at the moment.
newbie
Activity: 26
Merit: 0
Game keeps sending money back, how to play ?
newbie
Activity: 14
Merit: 0
OK. It seems that someone hacked the games  Cheesy

Could you please tell, how you did it? Did you use the last known has and played it or something else?

newbie
Activity: 14
Merit: 0
Someone has got a nice pot from Twelve bagger.

https://etherscan.io/address/0xfD2Dfa00Ba5941958EaEC567e59B42c2AA9dBF70#internaltx

As I stated in the first post, player might get advantage by using the last known hash. You might wonder, why I say this. The reason is, that I want to see if this is the case before opening bigger games.
newbie
Activity: 14
Merit: 0
Twelve bagger and Doubler of course have a slightly negative expected value. They are not investments, they are games.
newbie
Activity: 14
Merit: 0



For example my gambling game contract : 1/3*1.7+1/3*1.3-1/3*1=0.66 ETH you win in average



Who pays your game's positive expected value? If you are claiming that your game has a positive expected value, you have to pay it.

sr. member
Activity: 407
Merit: 254
Much more interesting to simply gamble on the future value of eth by purchasing and holding ethereum.  You play long enough here and you lose.
member
Activity: 84
Merit: 10


For example my gambling game contract : 1/3*1.7+1/3*1.3-1/3*1=0.66 ETH you win in average


wrong maths mate,
1/3*0.7+1/3*0.3-1/3*1= 0
(and even negative since you have fees)

All these games have negative EV
member
Activity: 70
Merit: 10
Not at all :p

Possibilites :

1/16 : winning 12*X
15/16 : loosing -X

-X*15/16+12/16*X= -0.1875 ETH you loose in average .


For example my gambling game contract : 1/3*1.7+1/3*1.3-1/3*1=0.66 ETH you win in average

Another one with roulette : red you win, black you loose, 18/37*1-18/37*1-1/37 (zero)=-1/37 ~-0.2  Smiley
newbie
Activity: 14
Merit: 0
To my understanding expected value for 1 eth in twelve bagger is 12/16.

To my understanding in Ethereum doubler it is 14/16. If there would not be 0 and f, which you can't bet, it would be 16/16.

member
Activity: 70
Merit: 10
In terms of Expected value, this is pretty bad 12*1/16+15/16*-1=-0.2 ETH, very risky for not much after all  Cool
newbie
Activity: 14
Merit: 0
address 0x28cC60C7c651F3E81E4B85B7a66366Df0809870f

JSON

[ { "constant": false, "inputs": [ { "name": "Set_your_game_number_L_or_H", "type": "string" } ], "name": "Set_your_game_number", "outputs": [], "type": "function" }, { "constant": true, "inputs": [], "name": "Last_block_number_and_blockhash_used", "outputs": [ { "name": "last_blocknumber_used", "type": "uint256", "value": "1408648", "displayName": "last_blocknumber_used" }, { "name": "last_blockhash_used", "type": "bytes32", "value": "0x54e6436e4fecbf13601443aed0f2f2e7321faa94e15f0c4853ee696a04727657", "displayName": "last_blockhash_used" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "Results_of_the_last_round", "outputs": [ { "name": "last_result", "type": "string", "value": "Win!", "displayName": "last_result" }, { "name": "Last_player_s_lottery_ticket", "type": "string", "value": "l", "displayName": " Last_player_s_lottery_ticket" }, { "name": "last_player", "type": "address", "value": "0xc168a39a8068c42a650e944ebfab87bfa4b1434b", "displayName": "last_player" }, { "name": "The_right_lottery_number", "type": "string", "value": "L", "displayName": " The_right_lottery_number" }, { "name": "Player_s_gain_or_Loss_in_Wei", "type": "int256", "value": "200000000000000000", "displayName": " Player_s_gain_or_ Loss_in_ Wei" }, { "name": "info", "type": "string", "value": "The right lottery number is decided by the last character of the most recent blockhash available during the game. 1-7 =Low, 8-e =High. One Eth is 10**18 Wei.", "displayName": "info" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "Game_balance_in_Ethers", "outputs": [ { "name": "balance", "type": "uint256", "value": "9", "displayName": "balance" }, { "name": "info", "type": "string", "value": "Game balance is shown in full Ethers", "displayName": "info" } ], "type": "function" }, { "inputs": [], "type": "constructor" } ]
newbie
Activity: 14
Merit: 0
We have now released also Ethereum Doubler. It doubles your ethers. You bet, if the last character (0-9 or a-f) of the most resent blockhash  is Low (1-7) or High (8-e). If you guess right, you get your ethers back doubled.  


Minimum bet is 0.1 eth and maximum bet is game's balance/4.


If you guess right, game returns your money immediately, when the block containing your money and lottery number is mined.  The deciding blockhash is the immediate previous block before your bet.  


You can play the game with Ethereum wallet which creates easy GUI for the game. At the moment it is not possible to play with command line.


To play you need to put game's address and JSON to your wallet. They are in the next post.

You can verify the source code here

https://etherscan.io/address/0x28cC60C7c651F3E81E4B85B7a66366Df0809870f#code

Wins paid out

https://etherscan.io/address/0x28cC60C7c651F3E81E4B85B7a66366Df0809870f#internaltx


member
Activity: 70
Merit: 10
I'll try it, very risky but fun Grin
newbie
Activity: 14
Merit: 0
If you don't have Ethereum wallet, you can download it from here

https://github.com/ethereum/mist/releases
Pages:
Jump to: