OK, I see now that the balance is updated. I'm not sure if it's because of the 8 blocks after the first confirmation or some unspecified time after the 6th confirmation. Btw, do you really need 6 confirmations for this? Wouldn't it be better if the balance was reflected in real time?
That would be ideal, yes. But I'm not skilled a developer enough to add this feature yet, it would take a lot of work to process reorganisations if there is a small fork in the chain.
Follow-up question: what happens if a transaction is added right before the deadline? Does it wait for 6 confirmations and still count it?
It is counted if the transaction makes it into a block before or equal to the deadline height. The the deadline is reset to 144 blocks later (or whatever you configured the game for).
So, who decides the number of winners in a game?
The host himself/herself?
It is configured at the start of the game, the person who sets up the game decides this.
And let's say I create a game and nobody participates, what will happen after the number of blocks passed?
Will I get a refund (excluding the 2% fee that the platform takes)? Or will it be a full refund? A little bit curious about this.
The platform still takes 2%. I can configure this to take out only a withdrawal fee, I guess.
You should also arrange with the players in the game to play before the game starts.
EDIT: Where does the 2nd player gets his betting address?
The person who creates the game must provide the payout address for each player.
Then the betting address for each player will be displayed on the game page.
If someone wants to increase the size of his bets, will he use the same betting address where he sent his funds earlier?
Yes, that is correct. The betting address is the same, and each new bet is added to the previous total bet.
My game with 2 players is an instant win for BitcoinGirl.Club now. A 2-person game with 2 winners was a bad idea.
Heh, yeah, 2-person game with 2 winners is kind of pointless.