Changeset 9bd09b0 for components/blackjack/Cards.jsx
- Timestamp:
- 06/23/22 00:08:35 (2 years ago)
- Branches:
- main
- Children:
- ace7865
- Parents:
- 285c3cc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
components/blackjack/Cards.jsx
r285c3cc r9bd09b0 22 22 return ( 23 23 <div className="blackjackCards"> 24 {playerState?. game?.playerCards?.map((card, i) => (24 {playerState?.blackjackGame?.playerCards?.map((card, i) => ( 25 25 <Card key={card} card={card} rotateZ={i*splitCardsMultiplyByInt} pos={{left: playerPos.left+i*splitCardsMultiplyByInt, top: playerPos.top}}/> 26 26 ))} 27 {playerState?. game?.dealerCards?.map((card, i) => (27 {playerState?.blackjackGame?.dealerCards?.map((card, i) => ( 28 28 <Card key={card} card={card} rotateZ={i*splitCardsMultiplyByInt} pos={{left: dealerPos.left+i*splitCardsMultiplyByInt, top: dealerPos.top}}/> 29 29 ))}
Note:
See TracChangeset
for help on using the changeset viewer.