Pages:
Author

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

newbie
Activity: 14
Merit: 0
address

0xfD2Dfa00Ba5941958EaEC567e59B42c2AA9dBF70

JSON


[ { "constant": false, "inputs": [ { "name": "Set_your_game_number", "type": "string", "typeShort": "string", "bits": "", "displayName": " Set _ your _ game _ 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_blocknumber_used" }, { "name": "last_blockhash_used", "type": "bytes32", "value": "0x8a9e1dbe00459d9111c4fd5027ff567c2dace432255b742f62d852a5d7d525f9", "displayName": "last_blockhash_used" } ], "type": "function", "displayName": " Last_block_number_and_blockhash_used" }, { "constant": true, "inputs": [], "name": "Results_of_the_last_round", "outputs": [ { "name": "last_result", "type": "string", "value": "Loss", "displayName": "last_result" }, { "name": "Last_player_s_lottery_ticket", "type": "string", "value": "a", "displayName": " Last_player_s_lottery_ticket" }, { "name": "last_player", "type": "address", "value": "0x6ef0848c8f2617cfac7b6a38063f54c8fb877c00", "displayName": "last_player" }, { "name": "The_right_lottery_number", "type": "string", "value": "9", "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 the last character of the most recent blockhash available during the game. 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": "12", "displayName": "balance" }, { "name": "info", "type": "string", "value": "Game balance is shown in full Ethers", "displayName": "info" } ], "type": "function", "displayName": " Game_balance_in_ Ethers" }, { "inputs": [], "type": "constructor" } ]
newbie
Activity: 14
Merit: 0
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


Pages:
Jump to: