Ignore:
Timestamp:
06/23/22 00:08:35 (2 years ago)
Author:
anastasovv <simon@…>
Branches:
main
Children:
ace7865
Parents:
285c3cc
Message:

Roulette place a bet functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • components/blackjack/Cards.jsx

    r285c3cc r9bd09b0  
    2222  return (
    2323    <div className="blackjackCards">
    24       {playerState?.game?.playerCards?.map((card, i) => (
     24      {playerState?.blackjackGame?.playerCards?.map((card, i) => (
    2525        <Card key={card} card={card} rotateZ={i*splitCardsMultiplyByInt} pos={{left: playerPos.left+i*splitCardsMultiplyByInt, top: playerPos.top}}/>
    2626      ))}
    27       {playerState?.game?.dealerCards?.map((card, i) => (
     27      {playerState?.blackjackGame?.dealerCards?.map((card, i) => (
    2828        <Card key={card} card={card} rotateZ={i*splitCardsMultiplyByInt} pos={{left: dealerPos.left+i*splitCardsMultiplyByInt, top: dealerPos.top}}/>
    2929      ))}
Note: See TracChangeset for help on using the changeset viewer.