Bitcoin Forum

Economy => Gambling => Topic started by: gjerek on June 19, 2013, 10:14:41 AM



Title: Coin-casino
Post by: gjerek on June 19, 2013, 10:14:41 AM
Hello guys!

I am working on full casino, that will accept BIT coins and LITE coins, at this very moment we have slot machine ready.

Chances are completly random!

check it out
http://www.coin-casino.net (http://www.coin-casino.net)


Title: Re: Coin-casino
Post by: 🏰 TradeFortress 🏰 on June 19, 2013, 10:44:13 AM
https://bitcointalk.org/index.php?topic=161236.0


Title: Re: Coin-casino
Post by: gjerek on June 19, 2013, 10:56:45 AM
https://bitcointalk.org/index.php?topic=161236.0

Ok I read it, but how can I create those hashes on flyby for every roll?
And then publish all rolls/bets/rewards in the end of the day?


Title: Re: Coin-casino
Post by: vlees on June 19, 2013, 11:03:42 AM
Unable to insert into database, please contact an admin and let them know: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user' cannot be null


Title: Re: Coin-casino
Post by: 🏰 TradeFortress 🏰 on June 19, 2013, 11:11:11 AM
https://bitcointalk.org/index.php?topic=161236.0

Ok I read it, but how can I create those hashes on flyby for every roll?
And then publish all rolls/bets/rewards in the end of the day?
OK, so what you do is when a user clicks on play, your server generates a random secret.

$randomSecret = [use secure random function];

Give the hash to the player:

hash("SHA256", $randomSecret);

Display this hash in Flash. Let the user enter their own client secret.

When they click on spin, send the player's hash, the server concats the two strings, and then hashes it again to derive the result of the spin. Send the unhashed secret back after the spin, and have the Flash automatically verify, and also display the secret so players can manually verify it too.


Title: Re: Coin-casino
Post by: playtin on June 19, 2013, 11:11:24 AM
https://bitcointalk.org/index.php?topic=161236.0

Ok I read it, but how can I create those hashes on flyby for every roll?
And then publish all rolls/bets/rewards in the end of the day?
Do it like this https://bitzino.com/slots (https://bitzino.com/slots)
Our casino https://playt.in (https://playt.in) works similar to bitzino but we have no slots


Title: Re: Coin-casino
Post by: gjerek on June 19, 2013, 11:28:50 AM
OK, thanks guys!

I will sort this tonite.


Title: Re: Coin-casino
Post by: Yurkov on June 19, 2013, 12:46:37 PM
lol nice going on the free trial, I havent even won a single coin by just using the free trial 10x


Title: Re: Coin-casino
Post by: gjerek on June 19, 2013, 02:06:13 PM
lol nice going on the free trial, I havent even won a single coin by just using the free trial 10x

I said its random :)