Remplacement monnaie réelle par bobcoins
continuous-integration/drone/push Build was killed Details

peristanceBDD
Alban GUILHOT 1 year ago
parent 4684f45b59
commit 22dbb5a076

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

@ -15,7 +15,7 @@ import { useSkinStore } from "../context/storeContext"
import { MANAGER_SKIN, MANAGER_USER } from "../../appManagers"
const coinImage = require('../../assets/Icons/Coin.png')
export const SkinComponent:
@ -105,7 +105,13 @@ export const SkinComponent:
style={styles.imageSkin}
source={{ uri: skin.getSkinSource() }}
/>
<Text style={styles.nomSkin}>100</Text>
<View style={styles.shopNameView}>
<Text style={styles.nomSkin}>{skin.getSkinCost()}</Text>
<Image
style={styles.coinStyle}
source={coinImage}
/>
</View>
</Pressable>
)
case 'liste':

@ -33,4 +33,13 @@ export default StyleSheet.create({
fontWeight: 'bold',
color: 'white',
},
coinStyle:{
height: 25,
width: 25,
},
shopNameView:{
alignSelf: 'center',
flexDirection:'row',
alignItems: 'center'
}
});

@ -30,5 +30,6 @@ export default StyleSheet.create({
backgroundColor: 'white',
padding: 10,
marginVertical: 10,
borderRadius: 15
}
});

@ -8,9 +8,10 @@ export default StyleSheet.create({
backgroundColor: 'white',
marginTop: 10,
paddingLeft: 15,
borderRadius: 15
},
textInputPassword: {
width: '70%',
width: '100%',
height: '100%',
backgroundColor: 'white',
},
@ -20,6 +21,7 @@ export default StyleSheet.create({
backgroundColor: 'white',
paddingHorizontal: 15,
marginTop: 10,
borderRadius: 15
},
viewIndicator: {
flex: 1,

Loading…
Cancel
Save