Bitcoin Forum
November 14, 2024, 07:55:31 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Ethereum TwelveBagger, multiply your ethers by twelve!  (Read 1364 times)
TwelveBagger (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 24, 2016, 07:04:59 AM
Last edit: April 26, 2016, 07:15:39 PM by TwelveBagger
 #1

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


TwelveBagger (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 24, 2016, 07:14:50 AM
 #2

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" } ]
TwelveBagger (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 24, 2016, 08:01:50 AM
 #3

If you don't have Ethereum wallet, you can download it from here

https://github.com/ethereum/mist/releases
askolein
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
April 24, 2016, 03:52:31 PM
 #4

I'll try it, very risky but fun Grin
TwelveBagger (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 26, 2016, 06:18:45 PM
Last edit: April 26, 2016, 06:38:45 PM by TwelveBagger
 #5

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


TwelveBagger (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 26, 2016, 06:28:21 PM
 #6

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" } ]
askolein
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
April 26, 2016, 07:14:28 PM
 #7

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
TwelveBagger (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 26, 2016, 07:26:37 PM
 #8

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.

askolein
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
April 26, 2016, 07:56:15 PM
 #9

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
sydhelly
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile WWW
April 26, 2016, 09:34:37 PM
Last edit: April 27, 2016, 07:15:34 AM by sydhelly
 #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

almond
Sr. Member
****
Offline Offline

Activity: 407
Merit: 254


View Profile
April 27, 2016, 02:55:59 AM
 #11

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.

Freedom of the press is guaranteed only to those who own one
TwelveBagger (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 27, 2016, 04:35:26 AM
 #12




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.

TwelveBagger (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
April 27, 2016, 04:44:12 AM
 #13

Twelve bagger and Doubler of course have a slightly negative expected value. They are not investments, they are games.
TwelveBagger (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
May 09, 2016, 08:03:22 AM
Last edit: May 09, 2016, 08:17:53 AM by TwelveBagger
 #14

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.
TwelveBagger (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
May 12, 2016, 05:46:06 AM
 #15

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?

Disruptor
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
May 12, 2016, 07:39:56 AM
 #16

Game keeps sending money back, how to play ?
TwelveBagger (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
May 12, 2016, 08:16:53 AM
 #17

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.
Disruptor
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
May 12, 2016, 09:28:19 AM
 #18

Ok got it thanks.

With the current gas price, it's not worth playing Smiley
veles7
Hero Member
*****
Offline Offline

Activity: 950
Merit: 510


View Profile
May 12, 2016, 09:29:24 AM
 #19

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
TwelveBagger (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
May 26, 2016, 07:36:40 PM
 #20

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.




Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!