Pages:
Author

Topic: UPDATE: Play as a guest WITHOUT owning Minecraft! BitVegas Minecraft - Free BTC - page 5. (Read 17947 times)

sr. member
Activity: 252
Merit: 250
We are now giving away FREE bitcoins just for being online!
sr. member
Activity: 252
Merit: 250
Poker is in the works and will be available for play money testing soon!
sr. member
Activity: 252
Merit: 250
The new provably fair system is now up for your testing on BlackJack.

It will be added to the other games over the next few days.

We have also added in Jackpots for Minefield
legendary
Activity: 2940
Merit: 1333
With a truly random 8-deck shoe, it shouldn't matter whether the dealer's second card isn't dealt until the players are finished, so I am not concerned if you leave it that way.

Except from a 'provably fair' point of view it would be better if the players (one of who might have admin access to the server and be able to see the deck) had as little influence on the dealer's hand as possible.

Having the dealer deal his hole card before the players act decreases the amount of influence the players have on the dealer's hand.

At the blackjack tables in real casinos you'll often hear "you took the dealer's bust card!" from players who don't understand that I'm just as likely to worsen the dealer's hand than I am to improve it when I play incorrectly.  But in this case, where one of the players may be able to see the undealt cards it's more of a concern.
newbie
Activity: 7
Merit: 0
Thank you for the detailed reply! I agree, it looks like it couldn't have been exploited anyways. As for the no hole card rules (I was unaware this is how they played in Australia!) With a truly random 8-deck shoe, it shouldn't matter whether the dealer's second card isn't dealt until the players are finished, so I am not concerned if you leave it that way. Again, when you get around to putting up a detailed list of the rule variations, just be sure to include that so people aren't confused.

Thanks again for the follow-up!
sr. member
Activity: 252
Merit: 250
Great to hear this feedback guys.

The blackjack is intentionally dealing in 'no hole card' rules of blackjack. Which means the dealer does not receive his second card until all the players have finished betting.
This is common to blackjack in Australia but I can change this if the players desire to use a hole card.

The bug with the dealer hitting on 26 is interesting. At first glance this cannot be exploited in any way but it should also be fixed so I will look into this asap.

Also yes you are correct I shall rename 'private key' to 'secret'


UPDATE: I have found the bug.
When a player ends his turn a nextTurn() function is called.
That function then checks if no more turns are to be had and noMoreTurns() is called.
noMoreTurns() then proceeds to first deal the dealer one card and then deal the dealer his cards until he hits hard 17 or higher. The first card was dealt without checking due to using a 'no hole card' system explained above.

Where the bug comes in. nextTurn() is automatically called if you hit 21 (Blackjack or not). It is then called again due to the nature of the system.
(You can check all the problem hands and the player always has 21 in value)
This essentially is calling nextTurn() twice, which is calling noMoreTurns() twice.
The bug was with noMoreTurns() automatically dealing the dealer one card before checking the dealers value.

Two bug fixes were added:
nextTurn() now checks if the game is already over before calling noMoreTurns()
noMoreTurns() now checks the dealers value BEFORE dealing any cards to the dealer.


I haven't pushed this update to the server yet as there's a few other things going in with it when it's ready. This bug had no actual effect on the game but was just weird to see.
newbie
Activity: 7
Merit: 0

But seriously, there's another issue here:

Quote
Deck: 2d,6d,9h,Th,3d,7d,Qc, ...
Dealer Cards: 6d,3d,7d,Qc,8h (34)
Player: Cards : 2d,9h,Th (21)

The dealer should get the 2nd and 4th cards, but looks like he got the 2nd and 5th.  The deal typically gives one card to each player, then one to the dealer, then one to each player, then one to the dealer, then the players get to play.

Wow, excellent point. OP, would you mind providing some detailed description of how this bug occurred and how you fixed it (When you do)?

It seems like you have both
  • A hit vs bust bug (The dealer hit on 26 when it should have registered as a bust)
  • A dealing order bug (The dealer should have gotten the Ten of Hearts as their down card)

Which may or may not be related

EDIT: It seems that the software is not dealing the dealer a "down" card (In the case of a a 1 player game, one card up to the player, one card up to the dealer, one card up to the player, one card down to the dealer, all of which should occur before the player is allowed to hit). See this example, or any other game where the player hits at least once: http://bitvegas.net/v.php?&g=blackjack&id=9462

You need to internally deal the 4th card (in a 1 player game) to the dealer, even if you do not display it until after all the players are finished making their moves
legendary
Activity: 2940
Merit: 1333
Hey Boss, check out this hand:

http://bitvegas.net/v.php?&g=blackjack&id=9457

It looks like the dealer hit on 16, got a Q, (26), and hit again! for an 9 up to 34

I'm not sure how that happened.

Hey!  We were keeping quiet about this bug in the hope that we could exploit it!  Wink

But seriously, there's another issue here:

Quote
Deck: 2d,6d,9h,Th,3d,7d,Qc, ...
Dealer Cards: 6d,3d,7d,Qc,8h (34)
Player: Cards : 2d,9h,Th (21)

The dealer should get the 2nd and 4th cards, but looks like he got the 2nd and 5th.  The deal typically gives one card to each player, then one to the dealer, then one to each player, then one to the dealer, then the players get to play.

Any finally:

Quote
Public Key: a7209d83a968a3090b51ed37f13f917c8997251b7c8e0e03f206f633b1a5dd10
Private Key: [2d,6d,9h,Th,3d,7d,Qc,8h,...

Those aren't a public and private keypair.  One's a hash of the other.  I'd call the "secret" and "hash(secret)" or some such to make it clear you're not using private key crypto here.
newbie
Activity: 7
Merit: 0
Hey Boss, check out this hand:

http://bitvegas.net/v.php?&g=blackjack&id=9457

It looks like the dealer hit on 16, got a Q, (26), and hit again! for an 9 up to 34

I'm not sure how that happened.
sr. member
Activity: 252
Merit: 250
I had 3.8195 BTC.  Bet 1 BTC on 3 different pigs, then had 0.8195 BTC.
One of my pigs won, with a 3.5x payout.
The game told me I had "won 2.4975"

Notice that when I win a 1 BTC bet on a 3.5x payout, I expect to get 3.5 BTC, not 3.4975 BTC.

I expect that's a rounding error somewhere, but you should try to make rounding errors work in the player's favour.  Never give them less than you promised them.   If you're rounding 3.4975x up to 3.5x when displaying the promised odds, you should also round it up to 3.5x when paying out...

Ah yes I didn't see you post that part. I will modify the rounding and payouts to be the same
legendary
Activity: 2940
Merit: 1333
I had 3.8195 BTC.  Bet 1 BTC on 3 different pigs, then had 0.8195 BTC.
One of my pigs won, with a 3.5x payout.
The game told me I had "won 2.4975"

Notice that when I win a 1 BTC bet on a 3.5x payout, I expect to get 3.5 BTC, not 3.4975 BTC.

I expect that's a rounding error somewhere, but you should try to make rounding errors work in the player's favour.  Never give them less than you promised them.   If you're rounding 3.4975x up to 3.5x when displaying the promised odds, you should also round it up to 3.5x when paying out...
legendary
Activity: 882
Merit: 1001
Thanks dooglus. I was already aware of this shortly after launch but didn't feel it was necessary to restart the server so soon to fix it. It's fixed now!
I seriously can't wait to use real money on pig racing!
sr. member
Activity: 252
Merit: 250
Thanks dooglus. I was already aware of this shortly after launch but didn't feel it was necessary to restart the server so soon to fix it. It's fixed now!
legendary
Activity: 2940
Merit: 1333

When I win a 1 BTC hand of blackjack, it tells me I won 2 BTC.  That includes my original stake, not just my profit.

When my pig wins at 2x multiplier on a 1 BTC bet, it tells me I won 1 BTC.  That's just my profit, and doesn't include the stake.

I think you should pick one of the other and be consistent across all games.  I think the blackjack way is better, because then you don't have to take the stakes into account.  Currently if I bet 1 BTC on 2 different 2x pigs and one wins, it tells me I won 1 BTC, which isn't true at all.  I won 2 BTC in total, and bet 2 BTC, so my net profit is 0 BTC.  If you're going to subtract the stake you should subtract all the stakes, not just the winning one.

A real example:

I had 3.8195 BTC.  Bet 1 BTC on 3 different pigs, then had 0.8195 BTC.
One of my pigs won, with a 3.5x payout.
The game told me I had "won 2.4975", and then my balance was 4.317 BTC.  So I was up 0.4975 after winning 3.4975.
There's no 2.4975 anywhere.
sr. member
Activity: 252
Merit: 250
sr. member
Activity: 476
Merit: 250
Looks like a great idea hope it goes well, good luck with it
newbie
Activity: 1
Merit: 0
I think the black jack tables could use some improvement, if someone were to sit down and start playing, someone else could walk in front of them and prevent them from playing once they have put down bitcoins.
sr. member
Activity: 252
Merit: 250
Added today:
 - Jukeboxes for tunes Cheesy
 - Fireworks!
newbie
Activity: 35
Merit: 0
I really think this is a good idea, but I already gambled away way too many bitcoins on other sites.

Hope this works out you guys.
sr. member
Activity: 252
Merit: 250
Nice idea.   My son likes it because it is minecraft, and I like it because of the BTC.
Maybe we could also bet on how long Creeper can survive in the minesweeper game?
You could have horse racing with minecraft sheep. 

So are you going to craft some fountains and light displays too?


Sheep racing is a great idea! Ofcourse it will be done by npc sheep with the outcome determined before the race Smiley.

I have not spent a lot of time on the actual look of the casino yet so yes there will be some cool stuff like fountains etc. I may even get some people in to help me with this if they are willing.

People could grow their own sheep and train them to race against each other. It beats gold farming lol.

That could work although I plan on making it along these lines:

4 or so animals are spawned at the start of the round. Each one is assigned a % chance of winning.
If the animal is given a 50% chance of winning. It will pay out 1:1. If it is given a 20%. it will pay out 5:1 etc. (A house edge will be applied ofcourse)

This way you can either bet on the 'favourite' which has the highest odds of winning or try your luck for a huge payout. Just like real horse racing.
Pages:
Jump to: