|
|
@ -58,7 +58,7 @@ export default function BlackJack(props){
|
|
|
|
|
|
|
|
|
|
|
|
<View style={styles.center}>
|
|
|
|
<View style={styles.center}>
|
|
|
|
<FloatingText
|
|
|
|
<FloatingText
|
|
|
|
text={`Total Bet $ ${totalBet}`}
|
|
|
|
text={`Total Bet ${totalBet} BobCoins`}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</View>
|
|
|
|
</View>
|
|
|
|
<ChipSelector
|
|
|
|
<ChipSelector
|
|
|
@ -80,7 +80,7 @@ export default function BlackJack(props){
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
<View style={styles.center}>
|
|
|
|
<View style={styles.center}>
|
|
|
|
<FloatingText
|
|
|
|
<FloatingText
|
|
|
|
text={`Available $ ${amount}`}
|
|
|
|
text={`Available ${amount} BobCoins`}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</View>
|
|
|
|
</View>
|
|
|
|
|
|
|
|
|
|
|
@ -178,7 +178,7 @@ export default function BlackJack(props){
|
|
|
|
|
|
|
|
|
|
|
|
setTotalBet(0);
|
|
|
|
setTotalBet(0);
|
|
|
|
setGameover(true);
|
|
|
|
setGameover(true);
|
|
|
|
setGameMessage("You Win $ "+ betValue);
|
|
|
|
setGameMessage("You Win "+ betValue+" BobCoins");
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if(playerPoints > 21 && dealerPoints <= 21){
|
|
|
|
else if(playerPoints > 21 && dealerPoints <= 21){
|
|
|
|