Bitcoin Forum

Alternate cryptocurrencies => Service Announcements (Altcoins) => Topic started by: TwelveBagger on April 24, 2016, 07:04:59 AM



Title: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on April 24, 2016, 07:04:59 AM
Check out

http://ethereumgames.net/

We have created Ethereum Twelve Bagger. It multiplies your ethers by 12. You bet, what is the last character of the blockhash of the most recent block. Blockhash is a hex number, so character can be a number 0-9 or a letter a-f. If your bet is right, you get back your wager multiplied by 12. There is no minimum bet. Maximum bet is game's balance/12.

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. This of course sounds surprising, because don't you know, what is the immediate previous block? Well, in theory yes, but in practice no. If you check the most recent blockhash and place your bet immediately, your bet in practice is not included the next block, but in the 2nd or 3rd block after that. Or maybe I'm wrong and there is easy money on the table, we'll find out soon..

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.

Game's source code can be seen here:


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

Payments in (=bets) can be seen here https://etherscan.io/address/0xfD2Dfa00Ba5941958EaEC567e59B42c2AA9dBF70

Payments out (=wins) can be seen here https://etherscan.io/address/0xfD2Dfa00Ba5941958EaEC567e59B42c2AA9dBF70#internaltx




Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on April 24, 2016, 07:14:50 AM
address

0xfD2Dfa00Ba5941958EaEC567e59B42c2AA9dBF70

JSON


[ { "constant": false, "inputs": [ { "name": "Set_your_game_number", "type": "string", "typeShort": "string", "bits": "", "displayName": " Set&thinsp;<span class=\"punctuation\">_</span>&thinsp;your&thinsp;<span class=\"punctuation\">_</span>&thinsp;game&thinsp;<span class=\"punctuation\">_</span>&thinsp;number", "template": "elements_input_string" } ], "name": "Set_your_game_number", "outputs": [], "type": "function", "displayName": " Set_your_game_number" }, { "constant": true, "inputs": [], "name": "Last_block_number_and_blockhash_used", "outputs": [ { "name": "last_blocknumber_used", "type": "uint256", "value": "1390256", "displayName": "last<span class=\"punctuation\">_</span>blocknumber<span class=\"punctuation\">_</span>used" }, { "name": "last_blockhash_used", "type": "bytes32", "value": "0x8a9e1dbe00459d9111c4fd5027ff567c2dace432255b742f62d852a5d7d525f9", "displayName": "last<span class=\"punctuation\">_</span>blockhash<span class=\"punctuation\">_</span>used" } ], "type": "function", "displayName": " Last<span class=\"punctuation\">_</span>block<span class=\"punctuation\">_</span>number<span class=\"punctuation\">_</span>and<span class=\"punctuation\">_</span>blockhash<span class=\"punctuation\">_</span>used" }, { "constant": true, "inputs": [], "name": "Results_of_the_last_round", "outputs": [ { "name": "last_result", "type": "string", "value": "Loss", "displayName": "last<span class=\"punctuation\">_</span>result" }, { "name": "Last_player_s_lottery_ticket", "type": "string", "value": "a", "displayName": " Last<span class=\"punctuation\">_</span>player<span class=\"punctuation\">_</span>s<span class=\"punctuation\">_</span>lottery<span class=\"punctuation\">_</span>ticket" }, { "name": "last_player", "type": "address", "value": "0x6ef0848c8f2617cfac7b6a38063f54c8fb877c00", "displayName": "last<span class=\"punctuation\">_</span>player" }, { "name": "The_right_lottery_number", "type": "string", "value": "9", "displayName": " The<span class=\"punctuation\">_</span>right<span class=\"punctuation\">_</span>lottery<span class=\"punctuation\">_</span>number" }, { "name": "Player_s_gain_or_Loss_in_Wei", "type": "int256", "value": "-100000000000000000", "displayName": " Player<span class=\"punctuation\">_</span>s<span class=\"punctuation\">_</span>gain<span class=\"punctuation\">_</span>or<span class=\"punctuation\">_</span> Loss<span class=\"punctuation\">_</span>in<span class=\"punctuation\">_</span> Wei" }, { "name": "info", "type": "string", "value": "The right lottery number is the last character of the most recent blockhash available during the game. One Eth is 10**18 Wei.", "displayName": "info" } ], "type": "function", "displayName": " Results<span class=\"punctuation\">_</span>of<span class=\"punctuation\">_</span>the<span class=\"punctuation\">_</span>last<span class=\"punctuation\">_</span>round" }, { "constant": true, "inputs": [], "name": "Game_balance_in_Ethers", "outputs": [ { "name": "balance", "type": "uint256", "value": "12", "displayName": "balance" }, { "name": "info", "type": "string", "value": "Game balance is shown in full Ethers", "displayName": "info" } ], "type": "function", "displayName": " Game<span class=\"punctuation\">_</span>balance<span class=\"punctuation\">_</span>in<span class=\"punctuation\">_</span> Ethers" }, { "inputs": [], "type": "constructor" } ]


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on April 24, 2016, 08:01:50 AM
If you don't have Ethereum wallet, you can download it from here

https://github.com/ethereum/mist/releases


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: askolein on April 24, 2016, 03:52:31 PM
I'll try it, very risky but fun ;D


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on April 26, 2016, 06:18:45 PM
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




Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on April 26, 2016, 06:28:21 PM
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<span class=\"punctuation\">_</span>blocknumber<span class=\"punctuation\">_</span>used" }, { "name": "last_blockhash_used", "type": "bytes32", "value": "0x54e6436e4fecbf13601443aed0f2f2e7321faa94e15f0c4853ee696a04727657", "displayName": "last<span class=\"punctuation\">_</span>blockhash<span class=\"punctuation\">_</span>used" } ], "type": "function" }, { "constant": true, "inputs": [], "name": "Results_of_the_last_round", "outputs": [ { "name": "last_result", "type": "string", "value": "Win!", "displayName": "last<span class=\"punctuation\">_</span>result" }, { "name": "Last_player_s_lottery_ticket", "type": "string", "value": "l", "displayName": " Last<span class=\"punctuation\">_</span>player<span class=\"punctuation\">_</span>s<span class=\"punctuation\">_</span>lottery<span class=\"punctuation\">_</span>ticket" }, { "name": "last_player", "type": "address", "value": "0xc168a39a8068c42a650e944ebfab87bfa4b1434b", "displayName": "last<span class=\"punctuation\">_</span>player" }, { "name": "The_right_lottery_number", "type": "string", "value": "L", "displayName": " The<span class=\"punctuation\">_</span>right<span class=\"punctuation\">_</span>lottery<span class=\"punctuation\">_</span>number" }, { "name": "Player_s_gain_or_Loss_in_Wei", "type": "int256", "value": "200000000000000000", "displayName": " Player<span class=\"punctuation\">_</span>s<span class=\"punctuation\">_</span>gain<span class=\"punctuation\">_</span>or<span class=\"punctuation\">_</span> Loss<span class=\"punctuation\">_</span>in<span class=\"punctuation\">_</span> 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" } ]


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: askolein on April 26, 2016, 07:14:28 PM
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  8)


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on April 26, 2016, 07:26:37 PM
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.



Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: askolein on April 26, 2016, 07:56:15 PM
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  :)


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: sydhelly on April 26, 2016, 09:34:37 PM


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


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: almond on April 27, 2016, 02:55:59 AM
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.


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on April 27, 2016, 04:35:26 AM



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.



Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on April 27, 2016, 04:44:12 AM
Twelve bagger and Doubler of course have a slightly negative expected value. They are not investments, they are games.


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on May 09, 2016, 08:03:22 AM
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.


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on May 12, 2016, 05:46:06 AM
OK. It seems that someone hacked the games  :D

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



Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: Disruptor on May 12, 2016, 07:39:56 AM
Game keeps sending money back, how to play ?


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on May 12, 2016, 08:16:53 AM
In Twelve bagger maximum bet is game's saldo/12. Current saldo is only 0.00221, so maximum bet is 0.00018 ETH :D

Ethereum doubler can't be played at the moment.


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: Disruptor on May 12, 2016, 09:28:19 AM
Ok got it thanks.

With the current gas price, it's not worth playing :)


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: veles7 on May 12, 2016, 09:29:24 AM
Game keeps sending money back, how to play ?
If you want lost some ETH, you can to present to me, you make good deal ;D


Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on May 26, 2016, 07:36:40 PM
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.






Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on June 28, 2016, 08:00:35 PM
Once again a new game, because all the previous games have been hacked  ;D

This new Twelve bagger uses completely new (hopefully hackerproof  ;) ) tech. Random number is generated by Wolphram Alpha (https://www.wolframalpha.com/) and it is relayed to contract by Oraclize (http://www.oraclize.it/).

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<span class=\"punctuation\">_</span>bet<span class=\"punctuation\">_</span>in<span class=\"punctuation\">_</span> Wei" }, { "name": "last_result", "type": "string", "value": "Loss", "displayName": "last<span class=\"punctuation\">_</span>result" }, { "name": "Last_player_s_lottery_ticket", "type": "string", "value": "2", "displayName": " Last<span class=\"punctuation\">_</span>player<span class=\"punctuation\">_</span>s<span class=\"punctuation\">_</span>lottery<span class=\"punctuation\">_</span>ticket" }, { "name": "last_player", "type": "address", "value": "0x68403559e710856f0d4519cfab56f74d39883263", "displayName": "last<span class=\"punctuation\">_</span>player" }, { "name": "The_right_lottery_number", "type": "string", "value": "11", "displayName": " The<span class=\"punctuation\">_</span>right<span class=\"punctuation\">_</span>lottery<span class=\"punctuation\">_</span>number" }, { "name": "Player_s_gain_or_Loss_in_Wei", "type": "int256", "value": "-100000000000000000", "displayName": " Player<span class=\"punctuation\">_</span>s<span class=\"punctuation\">_</span>gain<span class=\"punctuation\">_</span>or<span class=\"punctuation\">_</span> Loss<span class=\"punctuation\">_</span>in<span class=\"punctuation\">_</span> 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<span class=\"punctuation\">_</span>of<span class=\"punctuation\">_</span>the<span class=\"punctuation\">_</span>last<span class=\"punctuation\">_</span>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<span class=\"punctuation\">_</span>balance<span class=\"punctuation\">_</span>in<span class=\"punctuation\">_</span> Ethers" }, { "constant": false, "inputs": [ { "name": "Set_your_game_number_between_1_15", "type": "string", "index": 0, "typeShort": "string", "bits": "", "displayName": " Set&thinsp;<span class=\"punctuation\">_</span>&thinsp;your&thinsp;<span class=\"punctuation\">_</span>&thinsp;game&thinsp;<span class=\"punctuation\">_</span>&thinsp;number&thinsp;<span class=\"punctuation\">_</span>&thinsp;between&thinsp;<span class=\"punctuation\">_</span>&thinsp;1&thinsp;<span class=\"punctuation\">_</span>&thinsp;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" } ]



Title: Re: Ethereum TwelveBagger, multiply your ethers by twelve!
Post by: TwelveBagger on June 28, 2016, 08:31:25 PM
Source code verification

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