Bitcoin Forum
May 04, 2024, 03:27:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Bet on randomness] Test run, before graphics update and fee percent change  (Read 4051 times)
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 04, 2013, 08:59:43 PM
Last edit: June 04, 2013, 11:03:19 PM by Xenland
 #1

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/
1714836431
Hero Member
*
Offline Offline

Posts: 1714836431

View Profile Personal Message (Offline)

Ignore
1714836431
Reply with quote  #2

1714836431
Report to moderator
1714836431
Hero Member
*
Offline Offline

Posts: 1714836431

View Profile Personal Message (Offline)

Ignore
1714836431
Reply with quote  #2

1714836431
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 04, 2013, 09:14:47 PM
 #2

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
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 04, 2013, 09:54:19 PM
 #3

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.
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 04, 2013, 10:04:03 PM
 #4

Notice: Looks like percent chance winning and Number of players required are not updating at the moment, give me an hour to fix that
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 04, 2013, 10:29:54 PM
 #5

Never mind looks like with a 50% house fee all that is required for any game is 2 players... go figure..
BRules
Sr. Member
****
Offline Offline

Activity: 293
Merit: 250


View Profile
June 04, 2013, 11:14:20 PM
 #6

your site looks like another version of PeerBet but with house fees, am I right?

Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 05, 2013, 04:29:00 AM
 #7

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
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 05, 2013, 04:48:35 AM
 #8

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.
Xenland (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1003


I'm not just any shaman, I'm a Sha256man


View Profile
June 05, 2013, 11:30:33 PM
 #9

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).
Pages: [1]
  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!