Author

Topic: [Bet on randomness] Test run, before graphics update and fee percent change (Read 4068 times)

legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
The server is back up and in working order please continue. I will notify the community one day ahead before graphics update(and deposit returns).
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Bug found
There is a bug where the game server runs too fast and thinks bitcoin isn't responding and/or thinks there are no new coins. I have fixed this issue and will post back up here when i have detected the new server code is running again. If you deposited coins that didn't show up they should show up with this new code, when i slow things down a tid bit.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
your site looks like another version of PeerBet but with house fees, am I right?

Looking at the peerbet.com website in the faq it looks like yes we have house fees and thats the only fee is per bet fee.
And to compare it against peerbet i guess our site is like provable instant mode, we will supply a list that displays all recent games played(helps investigate cheat detection) and we encourage cheat detection
sr. member
Activity: 293
Merit: 250
your site looks like another version of PeerBet but with house fees, am I right?
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Never mind looks like with a 50% house fee all that is required for any game is 2 players... go figure..
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
Notice: Looks like percent chance winning and Number of players required are not updating at the moment, give me an hour to fix that
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
One last thing, a winner is declared by combining all the hashes in asending order by game account id and then combinaing all the plaintext of the hashes in the same order, then mashing them together(concat) then hash sha256() the long string then take the first 6 character of the sha256 and convert it into a 10base integer, do the same hash to int conversion with all clients and find the client with the closest number to the first number found.
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
The client <> game protocol
1] Game started!
2] Client id 1 & 2 have joined the game
3] As client 1 generate a random number, then hash it in the following format: concat ( gameid | timestamp | randomnumber ), then send just the hash concatenated string.
4] Wait for all players in the game to send their hashes( right now some games can be up to 100 players )
5] Send the plain text
6] wait for all plaintextes from other players
7] check for cheating and detect the winner
8] profit/loose

this all happens in about 1.5 seconds....

We are going with a new custom made theme and logo so there is some features not added like "knowing if you won or lost"
so for now you can just go to "my account" and check your balance to see if you won or lost your games.

the web console will show more game info
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
In house ledger (Keeps blockchain small)
Cheat Detection
No house edge
Please no bets larger then 0.005 and no deposits larger then 0.5 BTC.

Recommended Deposits: 0.05 BTC
Recommended Bets: 0.02 BTC

6 confirmations for account balance to update.

No withdrawals. You will get your btc back at the end of the testing so don't use proxy addresses or online wallets.

http://162.209.48.19/

info
You are betting on randomly generated numbers in a secure fashion,
there is NO house edge, the house only gets a fee (50% at the moment for testing purposes)
All clients involved with the bet will generate hashes and random numbers on the client side and relay them to other clients
the server has no involvement with randomness.

Bets are matched up with other players(bets) that are distinct from the originating gambler.
Bets are matched up with other bets that match exactly by cost of bet and multiplier.
A game is created when exactly enough bets can cover the cost of the winners reward

The server runs its own in house ledger (C++)
The server runs its own game server (C++)
games are instantaneous and fair.

I'm not sure how long i want the test betting to go on for.... as long as they have to Tongue

http://162.209.48.19/
Jump to: