Bitcoin Forum
May 10, 2024, 02:53:57 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 »  All
  Print  
Author Topic: Introducing Cardwars  (Read 6981 times)
BCEmporium (OP)
Legendary
*
Offline Offline

Activity: 1218
Merit: 1000



View Profile
May 22, 2011, 03:05:26 PM
 #1

Just added a new table game to the site, it's name is "Cardwars", you can find it near Blackjack at www.bityacht.com (Casino)

Rules of Cardwars:

Cardwars is the simplest table card game of a casino. Dealer gives you a card, takes a card himself and the one with bigger card face wins - suit doesn't matter.
Card values from higher to lower are: Ace - King - Queen - Jack - Ten - 9 - 8 - 7 - 6 - 5 - 4 - 2

If both have a card with the same value then the player must choose if he surrenders or goes to war.

Surrender:
The player gets back 50% of his ante

War:
The player adds a bet of equal value to his ante (if the player's ante was 0.1, the bet will be 0.1 also)
3 cards are burnt by the dealer, the 4th card goes to the player, 5th to the dealer.
Again the one with the higher card wins.
If card values are equal player wins.

Tie bet:

In the middle there's a red circle to bet for tie. Tie pays 10:1. A tie is won if the dealer and the player have cards of same value, regardless if the player choose to surrender or to war.

Here's a screenshot:


██████████████████            ██████████
████████████████              ██████████
██████████████          ▄█   ███████████
████████████         ▄████   ███████████
██████████        ▄███████  ████████████
████████        ▄█████████  ████████████
██████        ▄███████████  ████████████
████       ▄██████████████ █████████████
██      ▄███████████████████████████████
▀        ███████████████████████████████
▄          █████████████████████████████
██▄         ▀███████████████████████████
████▄        ▀██████████████████████████
██████▄        ▀████████████████████████
████████▄        ████████████████▀ █████
██████████▄       ▀█████████████  ██████
████████████▄       ██████████   ███████
██████████████▄      ▀██████    ████████
████████████████▄▄     ███     █████████
███████████████████▄    ▀     ██████████
█████████████████████▄       ███████████
███████████████████████▄   ▄████████████





▄█████████████████   ███             ███   ███   ███▄                ▄███            █████            ████████████████   ████████████████▄             █████
███▀                 ███             ███   ███   ████▄              ▄████           ███████           ███                ███           ▀███           ███████
███                  ███             ███   ███   █████▄            ▄█████          ███▀ ▀███          ███                ███            ███          ███▀ ▀███
███                  ███             ███   ███   ███ ███▄        ▄███ ███        ▄███▀   ▀███▄        ███                ███           ▄███        ▄███▀   ▀███▄
███                  ███████████████████   ███   ███  ▀██▄      ▄██▀  ███       ▄███▀     ▀███▄       ████████████████   ████████████████▀        ▄███▀     ▀███▄
███                  ███             ███   ███   ███   ▀███    ███▀   ███      ▄███▀       ▀███▄      ███                ███        ███          ▄███▀       ▀███▄
███                  ███             ███   ███   ███    ▀███  ███▀    ███     ▄███▀         ▀███▄     ███                ███         ███        ▄███▀         ▀███▄
███▄                 ███             ███   ███   ███      ██████      ███    ▄███             ███▄    ███                ███          ███      ▄███             ███▄
▀█████████████████   ███             ███   ███   ███       ████       ███   ▄███               ███▄   ████████████████   ███           ███    ▄███               ███▄

|
  TRUE BLOCKCHAIN GAMING PLATFORM 
DECENTRALISED AUTONOMOUS UNIVERSES

  HOME PAGE                                                                  WHITE PAPER 
|
1715309637
Hero Member
*
Offline Offline

Posts: 1715309637

View Profile Personal Message (Offline)

Ignore
1715309637
Reply with quote  #2

1715309637
Report to moderator
1715309637
Hero Member
*
Offline Offline

Posts: 1715309637

View Profile Personal Message (Offline)

Ignore
1715309637
Reply with quote  #2

1715309637
Report to moderator
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
TehZomB
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile
May 22, 2011, 05:21:33 PM
 #2

Ah, so is this the Casino version of the traditional War card game?
BCEmporium (OP)
Legendary
*
Offline Offline

Activity: 1218
Merit: 1000



View Profile
May 22, 2011, 05:27:42 PM
 #3

Based on, yes.
But battles are quite different, as the battle cards are burnt being only the last one played, with advantage to player (on re-tie, the player wins).

http://en.wikipedia.org/wiki/Casino_war

██████████████████            ██████████
████████████████              ██████████
██████████████          ▄█   ███████████
████████████         ▄████   ███████████
██████████        ▄███████  ████████████
████████        ▄█████████  ████████████
██████        ▄███████████  ████████████
████       ▄██████████████ █████████████
██      ▄███████████████████████████████
▀        ███████████████████████████████
▄          █████████████████████████████
██▄         ▀███████████████████████████
████▄        ▀██████████████████████████
██████▄        ▀████████████████████████
████████▄        ████████████████▀ █████
██████████▄       ▀█████████████  ██████
████████████▄       ██████████   ███████
██████████████▄      ▀██████    ████████
████████████████▄▄     ███     █████████
███████████████████▄    ▀     ██████████
█████████████████████▄       ███████████
███████████████████████▄   ▄████████████





▄█████████████████   ███             ███   ███   ███▄                ▄███            █████            ████████████████   ████████████████▄             █████
███▀                 ███             ███   ███   ████▄              ▄████           ███████           ███                ███           ▀███           ███████
███                  ███             ███   ███   █████▄            ▄█████          ███▀ ▀███          ███                ███            ███          ███▀ ▀███
███                  ███             ███   ███   ███ ███▄        ▄███ ███        ▄███▀   ▀███▄        ███                ███           ▄███        ▄███▀   ▀███▄
███                  ███████████████████   ███   ███  ▀██▄      ▄██▀  ███       ▄███▀     ▀███▄       ████████████████   ████████████████▀        ▄███▀     ▀███▄
███                  ███             ███   ███   ███   ▀███    ███▀   ███      ▄███▀       ▀███▄      ███                ███        ███          ▄███▀       ▀███▄
███                  ███             ███   ███   ███    ▀███  ███▀    ███     ▄███▀         ▀███▄     ███                ███         ███        ▄███▀         ▀███▄
███▄                 ███             ███   ███   ███      ██████      ███    ▄███             ███▄    ███                ███          ███      ▄███             ███▄
▀█████████████████   ███             ███   ███   ███       ████       ███   ▄███               ███▄   ████████████████   ███           ███    ▄███               ███▄

|
  TRUE BLOCKCHAIN GAMING PLATFORM 
DECENTRALISED AUTONOMOUS UNIVERSES

  HOME PAGE                                                                  WHITE PAPER 
|
eturnerx
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
May 22, 2011, 06:52:37 PM
 #4

I'm not seeing where the house's edge is - and that bothers me. Basically when the cards tie - if the player surrenders the house gets half an ante. If they go to war then the player gets a 7/13 to 6/13 (1/13) advantage over the house. So never surrender and slowly win?
I'm really suspicious when I don't see how the casino is paying their power bills - makes me wonder if I'll ever walk out with my watch, wallet and shoes.
BCEmporium (OP)
Legendary
*
Offline Offline

Activity: 1218
Merit: 1000



View Profile
May 22, 2011, 07:21:05 PM
 #5

For that to happen, ties would need to be quite common. Other than that you've the tie bet. This game doesn't give the house a quite good edge as blackjack does, it's true, as odds are roughly 46,3% to both sides.
Still, the amounts in play may make you sure that you'll always come out with your watch, wallet and shoes.

██████████████████            ██████████
████████████████              ██████████
██████████████          ▄█   ███████████
████████████         ▄████   ███████████
██████████        ▄███████  ████████████
████████        ▄█████████  ████████████
██████        ▄███████████  ████████████
████       ▄██████████████ █████████████
██      ▄███████████████████████████████
▀        ███████████████████████████████
▄          █████████████████████████████
██▄         ▀███████████████████████████
████▄        ▀██████████████████████████
██████▄        ▀████████████████████████
████████▄        ████████████████▀ █████
██████████▄       ▀█████████████  ██████
████████████▄       ██████████   ███████
██████████████▄      ▀██████    ████████
████████████████▄▄     ███     █████████
███████████████████▄    ▀     ██████████
█████████████████████▄       ███████████
███████████████████████▄   ▄████████████





▄█████████████████   ███             ███   ███   ███▄                ▄███            █████            ████████████████   ████████████████▄             █████
███▀                 ███             ███   ███   ████▄              ▄████           ███████           ███                ███           ▀███           ███████
███                  ███             ███   ███   █████▄            ▄█████          ███▀ ▀███          ███                ███            ███          ███▀ ▀███
███                  ███             ███   ███   ███ ███▄        ▄███ ███        ▄███▀   ▀███▄        ███                ███           ▄███        ▄███▀   ▀███▄
███                  ███████████████████   ███   ███  ▀██▄      ▄██▀  ███       ▄███▀     ▀███▄       ████████████████   ████████████████▀        ▄███▀     ▀███▄
███                  ███             ███   ███   ███   ▀███    ███▀   ███      ▄███▀       ▀███▄      ███                ███        ███          ▄███▀       ▀███▄
███                  ███             ███   ███   ███    ▀███  ███▀    ███     ▄███▀         ▀███▄     ███                ███         ███        ▄███▀         ▀███▄
███▄                 ███             ███   ███   ███      ██████      ███    ▄███             ███▄    ███                ███          ███      ▄███             ███▄
▀█████████████████   ███             ███   ███   ███       ████       ███   ▄███               ███▄   ████████████████   ███           ███    ▄███               ███▄

|
  TRUE BLOCKCHAIN GAMING PLATFORM 
DECENTRALISED AUTONOMOUS UNIVERSES

  HOME PAGE                                                                  WHITE PAPER 
|
luv2drnkbr
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1016



View Profile
May 22, 2011, 10:31:23 PM
 #6

Is the "deck" shuffled after each hand?  Also, as somebody pointed out, with players winning war ties, this has an edge for the player, so you wouldn't mind if I just played this day and night (or got a bot to play it) and grinded out minimum wage would you?  I've made a lot of money on less than 0.8% edges in my time.  (0.8% is about what your game is worth.)

BCEmporium (OP)
Legendary
*
Offline Offline

Activity: 1218
Merit: 1000



View Profile
May 22, 2011, 10:38:22 PM
 #7

The deck is shuffled on the beginning of each hand. Counting cards would do you no good there.
I'm keeping an eye over this game to see how it stands.

██████████████████            ██████████
████████████████              ██████████
██████████████          ▄█   ███████████
████████████         ▄████   ███████████
██████████        ▄███████  ████████████
████████        ▄█████████  ████████████
██████        ▄███████████  ████████████
████       ▄██████████████ █████████████
██      ▄███████████████████████████████
▀        ███████████████████████████████
▄          █████████████████████████████
██▄         ▀███████████████████████████
████▄        ▀██████████████████████████
██████▄        ▀████████████████████████
████████▄        ████████████████▀ █████
██████████▄       ▀█████████████  ██████
████████████▄       ██████████   ███████
██████████████▄      ▀██████    ████████
████████████████▄▄     ███     █████████
███████████████████▄    ▀     ██████████
█████████████████████▄       ███████████
███████████████████████▄   ▄████████████





▄█████████████████   ███             ███   ███   ███▄                ▄███            █████            ████████████████   ████████████████▄             █████
███▀                 ███             ███   ███   ████▄              ▄████           ███████           ███                ███           ▀███           ███████
███                  ███             ███   ███   █████▄            ▄█████          ███▀ ▀███          ███                ███            ███          ███▀ ▀███
███                  ███             ███   ███   ███ ███▄        ▄███ ███        ▄███▀   ▀███▄        ███                ███           ▄███        ▄███▀   ▀███▄
███                  ███████████████████   ███   ███  ▀██▄      ▄██▀  ███       ▄███▀     ▀███▄       ████████████████   ████████████████▀        ▄███▀     ▀███▄
███                  ███             ███   ███   ███   ▀███    ███▀   ███      ▄███▀       ▀███▄      ███                ███        ███          ▄███▀       ▀███▄
███                  ███             ███   ███   ███    ▀███  ███▀    ███     ▄███▀         ▀███▄     ███                ███         ███        ▄███▀         ▀███▄
███▄                 ███             ███   ███   ███      ██████      ███    ▄███             ███▄    ███                ███          ███      ▄███             ███▄
▀█████████████████   ███             ███   ███   ███       ████       ███   ▄███               ███▄   ████████████████   ███           ███    ▄███               ███▄

|
  TRUE BLOCKCHAIN GAMING PLATFORM 
DECENTRALISED AUTONOMOUS UNIVERSES

  HOME PAGE                                                                  WHITE PAPER 
|
luv2drnkbr
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1016



View Profile
May 22, 2011, 10:42:44 PM
 #8

For that to happen, ties would need to be quite common. Other than that you've the tie bet. This game doesn't give the house a quite good edge as blackjack does, it's true, as odds are roughly 46,3% to both sides.
Still, the amounts in play may make you sure that you'll always come out with your watch, wallet and shoes.

This reeks of ignorance about how gambling works, and if you don't understand how gambling works, you really shouldn't be running a casino.

Roughly 1/(13^2) of the time (actually a little less often), you're going to lose two units.  If we assume that a hand takes ten seconds to play, that means you'll get about 360 hands per hour, that means this will happen on average just about twice per hour.  So a person betting just 1 BTC per wager figures to profit, at current exchange rates, about 25 USD per hour by just clicking the "deal" button as fast as possible.

If you don't think this is a problem, that's fantastic and I will be a long and continuing customer of your Cardwars game.

tomcollins
Full Member
***
Offline Offline

Activity: 182
Merit: 101


View Profile
May 22, 2011, 10:46:54 PM
 #9

For that to happen, ties would need to be quite common. Other than that you've the tie bet. This game doesn't give the house a quite good edge as blackjack does, it's true, as odds are roughly 46,3% to both sides.
Still, the amounts in play may make you sure that you'll always come out with your watch, wallet and shoes.

Do you take a commission on won ties?  I bet 10 BTC in play money, tied, won, then got 19.90BTC back.
luv2drnkbr
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1016



View Profile
May 22, 2011, 11:05:09 PM
 #10

For that to happen, ties would need to be quite common. Other than that you've the tie bet. This game doesn't give the house a quite good edge as blackjack does, it's true, as odds are roughly 46,3% to both sides.
Still, the amounts in play may make you sure that you'll always come out with your watch, wallet and shoes.

Do you take a commission on won ties?  I bet 10 BTC in play money, tied, won, then got 19.90BTC back.

Yeah, I've been playing about 10 min, and he takes 1% of the initial wager (not the 2x wager, just the initial 1x wager) any time you go to war, win or lose.  Still, that doesn't come close to overcoming player winning ties.  (I'm going to play a bit longer to confirm that players DO in fact win ties, and then I might deposit.  After that, I might quit my job.)

tomcollins
Full Member
***
Offline Offline

Activity: 182
Merit: 101


View Profile
May 22, 2011, 11:06:08 PM
 #11

For that to happen, ties would need to be quite common. Other than that you've the tie bet. This game doesn't give the house a quite good edge as blackjack does, it's true, as odds are roughly 46,3% to both sides.
Still, the amounts in play may make you sure that you'll always come out with your watch, wallet and shoes.

Do you take a commission on won ties?  I bet 10 BTC in play money, tied, won, then got 19.90BTC back.

Yeah, I've been playing about 10 min, and he takes 1% of the initial wager (not the 2x wager, just the initial 1x wager) any time you go to war, win or lose.  Still, that doesn't come close to overcoming player winning ties.  (I'm going to play a bit longer to confirm that players DO in fact win ties, and then I might deposit.  After that, I might quit my job.)

Either I'm running really bad or there is severe riggage.
BCEmporium (OP)
Legendary
*
Offline Offline

Activity: 1218
Merit: 1000



View Profile
May 22, 2011, 11:06:41 PM
 #12

Do you take a commission on won ties?  I bet 10 BTC in play money, tied, won, then got 19.90BTC back.

Nope, let me check what went with it.
Can you confirm it was only the flash GUI that did it (ie if your balance updated 19.90 or 20)? I'm playing now to try to get to it, but so far no war.


██████████████████            ██████████
████████████████              ██████████
██████████████          ▄█   ███████████
████████████         ▄████   ███████████
██████████        ▄███████  ████████████
████████        ▄█████████  ████████████
██████        ▄███████████  ████████████
████       ▄██████████████ █████████████
██      ▄███████████████████████████████
▀        ███████████████████████████████
▄          █████████████████████████████
██▄         ▀███████████████████████████
████▄        ▀██████████████████████████
██████▄        ▀████████████████████████
████████▄        ████████████████▀ █████
██████████▄       ▀█████████████  ██████
████████████▄       ██████████   ███████
██████████████▄      ▀██████    ████████
████████████████▄▄     ███     █████████
███████████████████▄    ▀     ██████████
█████████████████████▄       ███████████
███████████████████████▄   ▄████████████





▄█████████████████   ███             ███   ███   ███▄                ▄███            █████            ████████████████   ████████████████▄             █████
███▀                 ███             ███   ███   ████▄              ▄████           ███████           ███                ███           ▀███           ███████
███                  ███             ███   ███   █████▄            ▄█████          ███▀ ▀███          ███                ███            ███          ███▀ ▀███
███                  ███             ███   ███   ███ ███▄        ▄███ ███        ▄███▀   ▀███▄        ███                ███           ▄███        ▄███▀   ▀███▄
███                  ███████████████████   ███   ███  ▀██▄      ▄██▀  ███       ▄███▀     ▀███▄       ████████████████   ████████████████▀        ▄███▀     ▀███▄
███                  ███             ███   ███   ███   ▀███    ███▀   ███      ▄███▀       ▀███▄      ███                ███        ███          ▄███▀       ▀███▄
███                  ███             ███   ███   ███    ▀███  ███▀    ███     ▄███▀         ▀███▄     ███                ███         ███        ▄███▀         ▀███▄
███▄                 ███             ███   ███   ███      ██████      ███    ▄███             ███▄    ███                ███          ███      ▄███             ███▄
▀█████████████████   ███             ███   ███   ███       ████       ███   ▄███               ███▄   ████████████████   ███           ███    ▄███               ███▄

|
  TRUE BLOCKCHAIN GAMING PLATFORM 
DECENTRALISED AUTONOMOUS UNIVERSES

  HOME PAGE                                                                  WHITE PAPER 
|
luv2drnkbr
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1016



View Profile
May 22, 2011, 11:08:19 PM
 #13

Do you take a commission on won ties?  I bet 10 BTC in play money, tied, won, then got 19.90BTC back.

Nope, let me check what went with it.
Can you confirm it was only the flash GUI that did it (ie if your balance updated 19.90 or 20)? I'm playing now to try to get to it, but so far no war.



LOL ya no you totally take 1% on all wars win or lose.

tomcollins
Full Member
***
Offline Offline

Activity: 182
Merit: 101


View Profile
May 22, 2011, 11:14:16 PM
 #14

I'm not saying this is intentionally a scam, but there is no mathematical way I could have run as badly as I did.  Something is rigged in this casino, either by design or by carelessness.  Buyer beware.
luv2drnkbr
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1016



View Profile
May 22, 2011, 11:17:02 PM
 #15

I'm not saying this is intentionally a scam, but there is no mathematical way I could have run as badly as I did.  Something is rigged in this casino, either by design or by carelessness.  Buyer beware.

This is blatantly not true.  Tom, you're a poker player, you know better.  For shame.  Still, if BCEmporium wanted to release some source code, that would be nice.

BCEmporium (OP)
Legendary
*
Offline Offline

Activity: 1218
Merit: 1000



View Profile
May 22, 2011, 11:17:46 PM
 #16

Still can't find where is that 1% going:

Here's the "war" code:

Code:
<?php
      
function war(){
          global 
$bank,$Player;
           
$this->output[] = '<component err_code="0" game_session="'.$this->game_id.'" name="Cardwars" response="war">';          
           
$ucard $this->deck[$this->pointer];
           
$this->pointer++;
           
$dcard $this->deck[$this->pointer];
           
$this->pointer++;

           
$dcardVal $this->getCardValue($dcard);
           
$ucardVal $this->getCardValue($ucard); 

          if(
$dcardVal $ucardVal){
               
$bank->method "update";
               
$this->betLines[] = '<bet name="ante" staked="'.$this->bet.'" won="0" />';
               
$this->betLines[] = '<bet name="bet" staked="'.$this->bet.'" won="0" />';
               if(
$this->tie 0){
                      
$tieWon = ($this->tie 10) + $this->tie;
                    
$this->betLines[] = '<bet name="tie" staked="'.$this->tie.'" won="'.$tieWon.'" />';
                  
$bank->addBalanceLineX($tieWon);
                  
$bank->payPrize($tieWon/100);
                  if(
$bank->play == "r"){
                        
$Player->updateReal($tieWon/100);
                  }else{
                        
$Player->updateFree($tieWon/100);
                  }                    
                                
               }else{
                   
$bank->addBalanceLineX(-$this->bet);
                   
$this->betLines[] = '<bet name="tie" staked="0" won="0" />';
               }
               
$this->output[] = '<result player="'.$ucard.'" dealer="'.$dcard.'" state="loss" />';
          }else{
               
$bank->method "update";
               
$betWin $this->bet 2;
               
$this->betLines[] = '<bet name="ante" staked="'.$this->bet.'" won="'.$betWin.'" />';
               
$this->betLines[] = '<bet name="bet" staked="'.$this->bet.'" won="'.$betWin.'" />';
               
$bank->payPrize(($betWin 2)/100);
               if(
$bank->play == "r"){
                   
$Player->updateReal(($betWin 2)/100);
               }else{
                   
$Player->updateFree(($betWin 2)/100);
               }
               if(
$this->tie 0){          
                       
$tieWon = ($this->tie 10) + $this->tie;
                    
$this->betLines[] = '<bet name="tie" staked="'.$this->tie.'" won="'.$tieWon.'" />';
                  
$bank->addBalanceLineX($tieWon);
                  
$bank->payPrize($tieWon/100);
                  if(
$bank->play == "r"){
                        
$Player->updateReal($tieWon/100);
                  }else{
                        
$Player->updateFree($tieWon/100);
                  }  
               }else{
                   
$bank->addBalanceLineX($this->bet 2);
                   
$bank->addBalanceLineX($this->bet 2);
                   
$this->betLines[] = '<bet name="tie" staked="0" won="0" />';
               }
               
$this->output[] = '<result player="'.$ucard.'" dealer="'.$dcard.'" state="win" />';             
          }
    }
?>


What happened tomcollins?

██████████████████            ██████████
████████████████              ██████████
██████████████          ▄█   ███████████
████████████         ▄████   ███████████
██████████        ▄███████  ████████████
████████        ▄█████████  ████████████
██████        ▄███████████  ████████████
████       ▄██████████████ █████████████
██      ▄███████████████████████████████
▀        ███████████████████████████████
▄          █████████████████████████████
██▄         ▀███████████████████████████
████▄        ▀██████████████████████████
██████▄        ▀████████████████████████
████████▄        ████████████████▀ █████
██████████▄       ▀█████████████  ██████
████████████▄       ██████████   ███████
██████████████▄      ▀██████    ████████
████████████████▄▄     ███     █████████
███████████████████▄    ▀     ██████████
█████████████████████▄       ███████████
███████████████████████▄   ▄████████████





▄█████████████████   ███             ███   ███   ███▄                ▄███            █████            ████████████████   ████████████████▄             █████
███▀                 ███             ███   ███   ████▄              ▄████           ███████           ███                ███           ▀███           ███████
███                  ███             ███   ███   █████▄            ▄█████          ███▀ ▀███          ███                ███            ███          ███▀ ▀███
███                  ███             ███   ███   ███ ███▄        ▄███ ███        ▄███▀   ▀███▄        ███                ███           ▄███        ▄███▀   ▀███▄
███                  ███████████████████   ███   ███  ▀██▄      ▄██▀  ███       ▄███▀     ▀███▄       ████████████████   ████████████████▀        ▄███▀     ▀███▄
███                  ███             ███   ███   ███   ▀███    ███▀   ███      ▄███▀       ▀███▄      ███                ███        ███          ▄███▀       ▀███▄
███                  ███             ███   ███   ███    ▀███  ███▀    ███     ▄███▀         ▀███▄     ███                ███         ███        ▄███▀         ▀███▄
███▄                 ███             ███   ███   ███      ██████      ███    ▄███             ███▄    ███                ███          ███      ▄███             ███▄
▀█████████████████   ███             ███   ███   ███       ████       ███   ▄███               ███▄   ████████████████   ███           ███    ▄███               ███▄

|
  TRUE BLOCKCHAIN GAMING PLATFORM 
DECENTRALISED AUTONOMOUS UNIVERSES

  HOME PAGE                                                                  WHITE PAPER 
|
BCEmporium (OP)
Legendary
*
Offline Offline

Activity: 1218
Merit: 1000



View Profile
May 22, 2011, 11:22:00 PM
 #17

Holy s....!!!
You guys don't waste time!  Huh
I decided to take cardwars out while re-checking its engine.

██████████████████            ██████████
████████████████              ██████████
██████████████          ▄█   ███████████
████████████         ▄████   ███████████
██████████        ▄███████  ████████████
████████        ▄█████████  ████████████
██████        ▄███████████  ████████████
████       ▄██████████████ █████████████
██      ▄███████████████████████████████
▀        ███████████████████████████████
▄          █████████████████████████████
██▄         ▀███████████████████████████
████▄        ▀██████████████████████████
██████▄        ▀████████████████████████
████████▄        ████████████████▀ █████
██████████▄       ▀█████████████  ██████
████████████▄       ██████████   ███████
██████████████▄      ▀██████    ████████
████████████████▄▄     ███     █████████
███████████████████▄    ▀     ██████████
█████████████████████▄       ███████████
███████████████████████▄   ▄████████████





▄█████████████████   ███             ███   ███   ███▄                ▄███            █████            ████████████████   ████████████████▄             █████
███▀                 ███             ███   ███   ████▄              ▄████           ███████           ███                ███           ▀███           ███████
███                  ███             ███   ███   █████▄            ▄█████          ███▀ ▀███          ███                ███            ███          ███▀ ▀███
███                  ███             ███   ███   ███ ███▄        ▄███ ███        ▄███▀   ▀███▄        ███                ███           ▄███        ▄███▀   ▀███▄
███                  ███████████████████   ███   ███  ▀██▄      ▄██▀  ███       ▄███▀     ▀███▄       ████████████████   ████████████████▀        ▄███▀     ▀███▄
███                  ███             ███   ███   ███   ▀███    ███▀   ███      ▄███▀       ▀███▄      ███                ███        ███          ▄███▀       ▀███▄
███                  ███             ███   ███   ███    ▀███  ███▀    ███     ▄███▀         ▀███▄     ███                ███         ███        ▄███▀         ▀███▄
███▄                 ███             ███   ███   ███      ██████      ███    ▄███             ███▄    ███                ███          ███      ▄███             ███▄
▀█████████████████   ███             ███   ███   ███       ████       ███   ▄███               ███▄   ████████████████   ███           ███    ▄███               ███▄

|
  TRUE BLOCKCHAIN GAMING PLATFORM 
DECENTRALISED AUTONOMOUS UNIVERSES

  HOME PAGE                                                                  WHITE PAPER 
|
tomcollins
Full Member
***
Offline Offline

Activity: 182
Merit: 101


View Profile
May 22, 2011, 11:22:25 PM
 #18

Still can't find where is that 1% going:

Here's the "war" code:

Code:
<?php
      
function war(){
          global 
$bank,$Player;
           
$this->output[] = '<component err_code="0" game_session="'.$this->game_id.'" name="Cardwars" response="war">';          
           
$ucard $this->deck[$this->pointer];
           
$this->pointer++;
           
$dcard $this->deck[$this->pointer];
           
$this->pointer++;

           
$dcardVal $this->getCardValue($dcard);
           
$ucardVal $this->getCardValue($ucard); 

          if(
$dcardVal $ucardVal){
               
$bank->method "update";
               
$this->betLines[] = '<bet name="ante" staked="'.$this->bet.'" won="0" />';
               
$this->betLines[] = '<bet name="bet" staked="'.$this->bet.'" won="0" />';
               if(
$this->tie 0){
                      
$tieWon = ($this->tie 10) + $this->tie;
                    
$this->betLines[] = '<bet name="tie" staked="'.$this->tie.'" won="'.$tieWon.'" />';
                  
$bank->addBalanceLineX($tieWon);
                  
$bank->payPrize($tieWon/100);
                  if(
$bank->play == "r"){
                        
$Player->updateReal($tieWon/100);
                  }else{
                        
$Player->updateFree($tieWon/100);
                  }                    
                                
               }else{
                   
$bank->addBalanceLineX(-$this->bet);
                   
$this->betLines[] = '<bet name="tie" staked="0" won="0" />';
               }
               
$this->output[] = '<result player="'.$ucard.'" dealer="'.$dcard.'" state="loss" />';
          }else{
               
$bank->method "update";
               
$betWin $this->bet 2;
               
$this->betLines[] = '<bet name="ante" staked="'.$this->bet.'" won="'.$betWin.'" />';
               
$this->betLines[] = '<bet name="bet" staked="'.$this->bet.'" won="'.$betWin.'" />';
               
$bank->payPrize(($betWin 2)/100);
               if(
$bank->play == "r"){
                   
$Player->updateReal(($betWin 2)/100);
               }else{
                   
$Player->updateFree(($betWin 2)/100);
               }
               if(
$this->tie 0){          
                       
$tieWon = ($this->tie 10) + $this->tie;
                    
$this->betLines[] = '<bet name="tie" staked="'.$this->tie.'" won="'.$tieWon.'" />';
                  
$bank->addBalanceLineX($tieWon);
                  
$bank->payPrize($tieWon/100);
                  if(
$bank->play == "r"){
                        
$Player->updateReal($tieWon/100);
                  }else{
                        
$Player->updateFree($tieWon/100);
                  }  
               }else{
                   
$bank->addBalanceLineX($this->bet 2);
                   
$bank->addBalanceLineX($this->bet 2);
                   
$this->betLines[] = '<bet name="tie" staked="0" won="0" />';
               }
               
$this->output[] = '<result player="'.$ucard.'" dealer="'.$dcard.'" state="win" />';             
          }
    }
?>


What happened tomcollins?

In a fair game, I win my bet 47%, lose my bet 47%, win 199% of my bet 3.2%, lose 201% 2.8%.  I started playing for 1 BTC per hand.  Getting down 10 BTC in a short period of time is fairly hard to do.  I'll need to run the simulations on it.  So I switched to lower bets, same thing kept happening, I would lose far more often than you would expect.  I didn't record results, but getting down 10 bets with the first amount, then getting down about 10-15 bets again is very, very unlikely if it were a fair game.

I doubt you are scamming us, but something is not kosher with the way the cards are being dealt.  I'll see if I can figure out what it is, if that's the source.  I'll find the 99% thing too.
luv2drnkbr
Hero Member
*****
Offline Offline

Activity: 793
Merit: 1016



View Profile
May 22, 2011, 11:29:17 PM
 #19

Holy s....!!!
You guys don't waste time!  Huh
I decided to take cardwars out while re-checking its engine.

Oh gay I was just about to deposit.  Why'd you take it offline?  Was Tom right and he was being cheated (by accident of course!) or did you discover the 2x payment and 1% commision glitches..Huh

tomcollins
Full Member
***
Offline Offline

Activity: 182
Merit: 101


View Profile
May 22, 2011, 11:30:37 PM
 #20

This is real odd, playing for play money, and the opposite is happening, I can't stop losing.  I need to run a simulation to see what are the odds someone is behind by 10 bets within 1000 plays or something.  Perhaps I am just unlucky at real money and super lucky at real!
Pages: [1] 2 3 4 »  All
  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!