Bitcoin Forum
April 18, 2024, 12:21:29 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: [ETH] SimpleDice - EthVenturesFinal attachment  (Read 1190 times)
BetGod (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 07, 2016, 08:16:22 AM
Last edit: April 08, 2016, 04:05:22 PM by BetGod
 #1


Greetings guys and girls, I`m very excited to present you the FIRST and REALLY WORKING Ethereum based dice game. The other dice games had bad random number generators. I have fixed it, this is the final version of my dice game!

The dice game is Exciting and Unique, and it's an attachment to EthVenturesFinal, meaning that the fees from here goes to EthVenturesFinal investors and not to me Smiley !






How it works?

You must deposit minimum 0.1 Ether, and you have a 25% chance of Winning the entire Balance, and there is No House Edge. The average prize is 0.4 ether, for 0.1 Ether deposit, a 0.3 Ether Profit for every Winner. It's provably fair, you can verify the source code!

There is also a Jackpot Feature, for every 40th depositor can win the jackpot which accumulates over time, as 15-20% of the deposits goes to this pool. This means that the Jackpot will be on average
0.8 Ether!






Features:


 • Adjustable House Fee: Currently set to 5%, it will be lowered after big volume
 • Adjustable Minimum Deposit: Currently 0.1 Ether
 • Adjustable Owner: Casino can be sold to new manager if needed (I`m not planning selling it)
 • No House Edge
 • Provably fair & no advantage to anybody
 • 25% chance for winning 400% profit on every gamble
 • Jackpot for every 40th player, for 800% profit
 • 100% Open-Source, Transparent and Bug-Free






How to gamble?

Send minimum 0.1 Ether here, the prize will be sent back automatically to the address you sent from:
0x78b058ccda93816487c655367dcb79664a216ad2







Source Code:


You can see that I have many test contracts linked to the creator address and many more on other ones, so I`ve tested this very thoroughly, and I can safely say that it's bug-free and works like a charm! The current version is the final one, so I wish you happy gambling and big wins!
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
sHeRiLyN1618
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500

No banking,Only Bitcoin!


View Profile
April 07, 2016, 08:39:06 AM
 #2

Finally, thanks for fixing it, i was using your other dice game ,and i liked that one too.

But now it has normal randomness and it is more exciting, thanks OP Smiley
clangtrump
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
April 07, 2016, 05:12:22 PM
 #3

Hmm this one looks better dude, much much better than the previous, it seems like you have been working hard in the past days.

I really like that, you are a very dedicated person to your work, and that can be admired in a developer.
Disruptor
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
April 07, 2016, 05:22:20 PM
 #4

SCAM
BetGod (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 08, 2016, 04:05:23 AM
 #5

SCAM

How? It's a dice game. Smiley

What is scam about that?
DustBluster
Member
**
Offline Offline

Activity: 76
Merit: 10

Play Shiny Squirrels - Multiply Your Ether


View Profile WWW
April 08, 2016, 05:46:07 AM
Last edit: April 08, 2016, 06:07:51 AM by DustBluster
 #6

The randomizer is definitely improved over the last one!  However, it's still not a 25% chance, I think it's more like 50%!!

Code:
if(uint(sha3(gamblerlist[list_length].etherAddress,list_length))+uint(sha3(msg.gas)) % 2==0 && Bankroll > 0) //if the hashed length of your address is even,
{   //which is a 25% chance, then you get paid out all balance!

This first piece of the conditional is not random and doesn't serve much purpose: uint(sha3(gamblerlist[list_length].etherAddress,list_length))

A player can know ahead of time what their address is and what the list_length is and can perform an sha3() on that.  You can not use already known data to generate a random number.

The next part of the conditional is trickier: uint(sha3(msg.gas))

In this case the sha3() is being performed on the gas that was spent.  I'm not certain what is involved in calculating that number, this may well provide an acceptable amount of entropy, or at least a greater challenge to calculate.

When you add those parts together you end up with a single very large number: uint(sha3(gamblerlist[list_length].etherAddress,list_length)) + uint(sha3(msg.gas))

The problem is that very large number is being run through a modulus of 2:  % 2==0

That will return either a 0 or a 1 depending on if the number is even or odd, which is a 50% chance, not 25%.  You probably want to use % 4==0 to determine if your pseudo-random number is divisible by 4.

The odds of winning this are actually 50/50  Cheesy

shinysquirrels.co - Ether Multiplier Game
BetGod (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 08, 2016, 06:42:37 AM
 #7

The odds of winning this are actually 50/50  Cheesy

I know, i meant to write there 50%, it was a typo.

I will deploy a new version soon, but i have to fix my EthVenture first Smiley
BetGod (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 08, 2016, 04:07:28 PM
 #8

Final Version

  • Attached to EthVenturesFinal
  • Fixed a small bug, now the probability is 25% as told in the description
  • House fee lowered to 5%, and all fees go to EthVenturesFinal investors

Enjoy new and improved dice game!
askolein
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
April 08, 2016, 09:25:02 PM
 #9

No fee needed !
greymatter
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
April 08, 2016, 11:58:55 PM
 #10

Once shapeshift.io gets back online, ill be trying this out... until then good luck
BetGod (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 09, 2016, 04:38:29 AM
 #11

Once shapeshift.io gets back online, ill be trying this out... until then good luck

It's back online now, good luck with my dice Smiley
BetGod (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 09, 2016, 07:33:25 AM
 #12

Once shapeshift.io gets back online, ill be trying this out... until then good luck

It's back online now, good luck with my dice Smiley

Reviewed the code , it works flawless, good luck with this!

Thanks for kind words, its really a good project, the coin flip game is simple and exciting!
sHeRiLyN1618
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500

No banking,Only Bitcoin!


View Profile
April 09, 2016, 07:09:12 PM
 #13

Yap, it does look cool, but i wait for more people to play it.

I hope it gets big Smiley
BetGod (OP)
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 10, 2016, 07:28:01 AM
 #14

Yap, it does look cool, but i wait for more people to play it.

I hope it gets big Smiley

Looks like players start to play it, it's good, and the attachment works flawlessly, dividends are also being paid out  Smiley
sydhelly
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile WWW
April 10, 2016, 07:46:45 AM
 #15

No One is playing, look at transaction history.


Only OP chatting with his multiple accounts to promote his scam.

cryptosmoker
Sr. Member
****
Offline Offline

Activity: 581
Merit: 250


View Profile
April 10, 2016, 07:59:27 AM
 #16

Have a feeling BetGod is also this guy, www.bitcointalk.org/index.php?action=profile;u=687379 (btc-raffle.com)

Just the way he seems to be pretending to be a good programmer to impress while complimenting himself with many alt accounts.

I could be wrong though.
I know what I can't be wrong about:
He is idiot. 
likegames
Newbie
*
Offline Offline

Activity: 26
Merit: 0


View Profile
April 10, 2016, 08:44:02 AM
 #17


Looks like players start to play it, it's good, and the attachment works flawlessly, dividends are also being paid out  Smiley

It's not working!

The transfer to the Ethventures Contract ran into an error. And not any dividends where paid out! See https://etherscan.io/address/0xee462a6717f17c57c826f1ad9b4d3813495296c9#internaltx . After Block 1307118 there was no payment to the investors.
Sileniced
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile WWW
April 10, 2016, 05:42:28 PM
 #18


Looks like players start to play it, it's good, and the attachment works flawlessly, dividends are also being paid out  Smiley

It's not working!

The transfer to the Ethventures Contract ran into an error. And not any dividends where paid out! See https://etherscan.io/address/0xee462a6717f17c57c826f1ad9b4d3813495296c9#internaltx . After Block 1307118 there was no payment to the investors.


People should learn to use and show test contracts before claiming things work flawlessly.
askolein
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
April 10, 2016, 05:47:09 PM
 #19

Now 1/4 chance to win nearly nothing.

How can we play if there is nothing on the contract?
Katatsuki
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile WWW
April 10, 2016, 05:55:11 PM
 #20

This would have been a good idea if you had done it when you already had 4-5 well established and profitable apps. It's pure speculation otherwise.

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!