Bitcoin Forum
December 08, 2016, 12:32:52 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 [4] 5 6 7 8 »  All
  Print  
Author Topic: Play BlackJack with Bitcoins!  (Read 14758 times)
BitterTea
Sr. Member
****
Offline Offline

Activity: 294



View Profile
May 07, 2011, 06:20:09 AM
 #61

@Third War: The system has received your coins, nothing is lost! I'm sorry for the trouble but I've noticed a bug that I must fix. I'm getting the random numbers from random.org, but sometimes the site doesn't respond fast enough.

Not sure if you've fixed this already, but perhaps you could keep a buffer of random data and have some job refill that buffer periodically/when it gets low.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481157172
Hero Member
*
Offline Offline

Posts: 1481157172

View Profile Personal Message (Offline)

Ignore
1481157172
Reply with quote  #2

1481157172
Report to moderator
DrKenobi
Jr. Member
*
Offline Offline

Activity: 55



View Profile WWW
May 07, 2011, 08:36:05 AM
 #62

Wow, quite some feedback here. Many thanks you're really awesome!! Cool

I noticed while playing that when I bet .05 and won with blackjack that I was only awarded .12 instead of .125 ... I didn't check my wallet but it looks like the wallet only uses 2 decimal places. Any way to have the wallet use 3 decimal places for play purposes but only cash out 2 decimal places? Or else let people know they need to bet in even increments to get their full payout.
That's why the minimum bet is 0.02 (but I didn't think of the BlackJack 2.5 win, whoops!). I will soon put a new version online where I do the calculations with 3 decimal places. Then the minimum bet will be just 0.01, and you won't lose half a bitcent. Anyway all the games are recorded so once I put this version up I will recalculate so you get you 0.005 back (or more if this situation happened more often). Thanks for noticing!

Site seems to be down.
I just signed up for a new account and now I get the following error:

Quote
SQL ERROR - sorry

Edit: Refreshing the play page is very slow. It takes about 1 minute and then I get either the SQL ERROR page or the play page with a blank bitcoin deposit address.
Again problems with bitcoind Sad I detect when it crashes and restart it immediately, but unfortunately sometimes it just gets stalled which I cannot detect easily. Thus I restart it every 60 minutes. So for now sometimes this error may occur but it should not last longer than an hour. Sorry for the inconvenience, it's quite a bummer for me that I hope to be able to fix soon Roll Eyes

How long does it take for funds to be credited to my account?
I sent a payment to the address it gave me over an hour ago and still nothing in my account!  Huh

Look for how many confirmations you have on the transaction. I think it needs at least 5 before funds are deposited.
One confirmation is enough. From time to time I manually accept transactions without confirmation if they are small and seem legit.

Just my two cents - it's great, but no five card charlie. Everything else has worked fine so far though!
Right now this site uses European BlackJack rules where there is not Five Card Charlie rule. I plan to implement other rules as well, though that may take a bit of time.

I have .02 BTC stuck with 0 confirmations for about 6 hrs now on the way. maybe i shouldve sent more Huh
If you send more the transaction is likely to be accepted faster by the bitcoin network (it's a "problem" with the network, not with my site). Anyhow I've manually accepted your transaction even though it's still unconfirmed. I hope that I will eventually really get your coins Wink

@Third War: The system has received your coins, nothing is lost! I'm sorry for the trouble but I've noticed a bug that I must fix. I'm getting the random numbers from random.org, but sometimes the site doesn't respond fast enough.

Not sure if you've fixed this already, but perhaps you could keep a buffer of random data and have some job refill that buffer periodically/when it gets low.
Thanks, that's a good idea and way better than my current approach (use local rand() if random.org doesn't work). I will implement it in the next version. Thanks again!

http://btcjack.1btchost.com/banner.jpg
Play BlackJack with Bitcoins!
1BW5BdRdtLAany8kPQV619m24Hr5QzkNaq
grndzero
Sr. Member
****
Offline Offline

Activity: 392


View Profile
May 07, 2011, 09:47:43 AM
 #63


That's why the minimum bet is 0.02 (but I didn't think of the BlackJack 2.5 win, whoops!). I will soon put a new version online where I do the calculations with 3 decimal places. Then the minimum bet will be just 0.01, and you won't lose half a bitcent. Anyway all the games are recorded so once I put this version up I will recalculate so you get you 0.005 back (or more if this situation happened more often). Thanks for noticing!

As soon as I saw it I made sure my bets were even. I know of 2, and maybe 1 or 2 that I missed before I saw it, no biggie though. Great work so far!

Any idea what the time frame for adding splitting to the game is? I was begging for a split button more than once when I started off with a pair of A's or 8's vs a dealer bust card.

Ubuntu Desktop x64 -  HD5850 Reference - 400Mh/s w/ cgminer  @ 975C/325M/1.175V - 11.6/2.1 SDK
Donate if you find this helpful: 1NimouHg2acbXNfMt5waJ7ohKs2TtYHePy
Alex Beckenham
Full Member
***
Offline Offline

Activity: 154


View Profile
May 07, 2011, 10:40:23 AM
 #64

0.3.21

Again problems with bitcoind Sad

So, no point me upgrading my crash-prone 0.3.20 yet.

markm
Legendary
*
Offline Offline

Activity: 1792



View Profile WWW
May 07, 2011, 11:31:05 AM
 #65

My experience with bitcoind has been that asking for the address of an account seems to hang if no getnewaddress has been done lately for any account.

Thus I created an account named "throwaways" and do a getnewaddress for that "throwawats" account pretty much every time I am thinking of asking for any account's address. That seemed to make the hanging/freezing go away.

I have not tested it to death though to make sure the problem really has totally utterly gone away.

I actually don't even bother using getnewaddress for any other account, since accounts that do not yet have an address seem to have one created for them anyway by the getaddress routine used to get their already existing address.

-MarkM-

Browser-launched Crossfire client now online (select CrossCiv server for Galactic  Milieu)
Free website hosting with PHP, MySQL etc: http://hosting.knotwork.com/
hippich
Hero Member
*****
Offline Offline

Activity: 546


View Profile
May 07, 2011, 03:23:44 PM
 #66

great start! things should be easy to implement:
- refresh cards through ajax
- show current player's and dealer's points

probably, not so easy to implement:
- split button

talktojer
Newbie
*
Offline Offline

Activity: 10


View Profile
May 07, 2011, 03:40:09 PM
 #67

surrender option would be nice too.
DrKenobi
Jr. Member
*
Offline Offline

Activity: 55



View Profile WWW
May 07, 2011, 04:30:07 PM
 #68

Any idea what the time frame for adding splitting to the game is? I was begging for a split button more than once when I started off with a pair of A's or 8's vs a dealer bust card.
I'll try to get some free time next week, so maybe then. Otherwise it should be done the week after. I just realize that without the splitting the odds are better for the bank than they should. I'll try to compensate for this with some new bonus deposit promotion (giving away all the few coins I've made so far)!

Thus I created an account named "throwaways" and do a getnewaddress for that "throwawats" account pretty much every time I am thinking of asking for any account's address. That seemed to make the hanging/freezing go away.
Thanks for the hint! I've implemented that now, we'll see if it works as good for me as it does for you Smiley

great start! things should be easy to implement:
- refresh cards through ajax
- show current player's and dealer's points

probably, not so easy to implement:
- split button
I don't want to show the current points to make it more real (one commenter in this thread even mentioned specifically that he likes it cause of that). When playing Blackjack on the PC I'm always annoyed by the point displays.

Split will come "soon", and AJAX after the other interesting features (as it's just eye candy IMHO).

surrender option would be nice too.
Surrender? Why would you do that? You can just "Stay" and still have a chance of winning. Or would "Surrender" give back (some of) your money?

http://btcjack.1btchost.com/banner.jpg
Play BlackJack with Bitcoins!
1BW5BdRdtLAany8kPQV619m24Hr5QzkNaq
TehZomB
Sr. Member
****
Offline Offline

Activity: 294


WTB NHL Expansion team in Baltimore


View Profile WWW
May 07, 2011, 06:23:11 PM
 #69

Right now this site uses European BlackJack rules where there is not Five Card Charlie rule. I plan to implement other rules as well, though that may take a bit of time.

Ok, thanks for the response.
Now I won't press hit just for that last 5th card in despiration Tongue

lulzplzkthx
Sr. Member
****
Offline Offline

Activity: 322



View Profile WWW
May 07, 2011, 07:38:47 PM
 #70

As for the random.org thing, random.org actually requests that you grab a large amount of random data at a time, rather than one request all the time. The reason being load on their servers. You'll probably have better luck with the buffer.

grndzero
Sr. Member
****
Offline Offline

Activity: 392


View Profile
May 08, 2011, 07:02:22 AM
 #71


surrender option would be nice too.
Surrender? Why would you do that? You can just "Stay" and still have a chance of winning. Or would "Surrender" give back (some of) your money?

There is no surrender in European Rules Blackjack. Surrender is an option in American Blackjack when you are in a tough position such as hard 14,15, or 16 vs a dealer 10 or A, you can surrender half your bet (and save face instead of drawing and busting) and get the other half back. It a safety net for gamblers who don't like to gamble. Smiley

Ubuntu Desktop x64 -  HD5850 Reference - 400Mh/s w/ cgminer  @ 975C/325M/1.175V - 11.6/2.1 SDK
Donate if you find this helpful: 1NimouHg2acbXNfMt5waJ7ohKs2TtYHePy
hendi
Jr. Member
*
Offline Offline

Activity: 30


View Profile WWW
May 08, 2011, 04:33:54 PM
 #72

So after playing your online BlackJack for some time I yesterday went to a casino. Guess what, I've been lucky, maybe due to practising with your site Wink Anyway, yesterday I've seen how much fun multiplayer BlackJack is, so I just wanted to chime in and express my interest in a multiplayer version of your site!

grndzero
Sr. Member
****
Offline Offline

Activity: 392


View Profile
May 08, 2011, 08:57:05 PM
 #73

So after playing your online BlackJack for some time I yesterday went to a casino. Guess what, I've been lucky, maybe due to practising with your site Wink Anyway, yesterday I've seen how much fun multiplayer BlackJack is, so I just wanted to chime in and express my interest in a multiplayer version of your site!

Be careful! It can be addicting!  Smiley

Ubuntu Desktop x64 -  HD5850 Reference - 400Mh/s w/ cgminer  @ 975C/325M/1.175V - 11.6/2.1 SDK
Donate if you find this helpful: 1NimouHg2acbXNfMt5waJ7ohKs2TtYHePy
DrKenobi
Jr. Member
*
Offline Offline

Activity: 55



View Profile WWW
May 10, 2011, 10:00:02 AM
 #74

Wow I'm flattered! You all really like my game it seems, thank you so much! Soon there will be the 10000th game played!!! The user playing this one will receive a suprise Smiley

http://btcjack.1btchost.com/banner.jpg
Play BlackJack with Bitcoins!
1BW5BdRdtLAany8kPQV619m24Hr5QzkNaq
lulzplzkthx
Sr. Member
****
Offline Offline

Activity: 322



View Profile WWW
May 10, 2011, 01:10:03 PM
 #75

How many confirmations are required before funds show up in your account?

lulzplzkthx
Sr. Member
****
Offline Offline

Activity: 322



View Profile WWW
May 10, 2011, 05:35:31 PM
 #76

I was in the middle of a Blackjack game and all of a sudden got a "Problem loading page" error in Firefox. I can't get it to load at all, not even the main page.

Help!

EDIT: And we're back!
EDIT: And we're not!
EDIT: And we are!

AgoristTeen2
Jr. Member
*
Offline Offline

Activity: 32



View Profile
May 14, 2011, 02:51:48 PM
 #77


Are you sure you've sent your coins to the right address? You can check at www.blockexplorer.com/address/[your_address] if your transaction is in the bitcoin network. I've just checked the URL with your account's address and cannot find the transaction there. So it's no problem from my side, be assured that your coins are not lost once they get to me Smiley
Does your bitcoin client list the transaction as sent? Sometimes it takes a little lower to get a transaction accepted from the bitcoin network.

Edit: Ok, I've checked. You've made a very small amount and the bitcoin network takes longer to verify it because you didn't include a small fee for the block's miner. I've now accepted your deposit manually, so you can play right now Cool If you don't want to wait in the future you should either made bigger transaction or you should add a small fee in the bitcoin software (this does not depend on me, but on the whole network!).

Okay thank you.

DrKenobi
Jr. Member
*
Offline Offline

Activity: 55



View Profile WWW
May 17, 2011, 04:34:30 PM
 #78

Wow I'm flattered! You all really like my game it seems, thank you so much! Soon there will be the 10000th game played!!! The user playing this one will receive a suprise Smiley
Ok with a bit delay I'm very happy and also very proud to announce that way more than 10000 games have been played! I've added 10.00 BTC to the user's account!

This time I unfortunately cannot deduce the forum name from the account name. So, to whoever is the lucky guy: thanks for playing on my site, and congratulations for playing the 10000th game and receiving this award Smiley

http://btcjack.1btchost.com/banner.jpg
Play BlackJack with Bitcoins!
1BW5BdRdtLAany8kPQV619m24Hr5QzkNaq
hendi
Jr. Member
*
Offline Offline

Activity: 30


View Profile WWW
May 17, 2011, 08:10:58 PM
 #79

So after playing your online BlackJack for some time I yesterday went to a casino. Guess what, I've been lucky, maybe due to practising with your site Wink Anyway, yesterday I've seen how much fun multiplayer BlackJack is, so I just wanted to chime in and express my interest in a multiplayer version of your site!

Be careful! It can be addicting!  Smiley
Oh yeah, it is! But I'm still on a positive win side Smiley

sc8nt4u
Sr. Member
****
Offline Offline

Activity: 278


View Profile
May 22, 2011, 01:17:32 PM
 #80

Sent a deposit couple hours ago and it's yet to be deposited.  Huh

[Selling] Delta 120mm Fans 130CFM 3 Pin w/ 3 pin to 4 pin molex + fan screws
http://forum.bitcoin.org/index.php?topic=22366.0
Pages: « 1 2 3 [4] 5 6 7 8 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!