Changeset ace7865 for redux/reducers
- Timestamp:
- 06/25/22 11:30:19 (3 years ago)
- Branches:
- main
- Children:
- b13f93b
- Parents:
- 9bd09b0
- Location:
- redux/reducers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
redux/reducers/playerSlice.js
r9bd09b0 race7865 19 19 timeToStart: 0, 20 20 players: [], 21 }, 22 pokerGame: { 23 status: '_1_waiting_for_players', 24 turnIdx: 0, 25 playerCards: ['c4', 'c2'], 26 cardsOnTable: ['c3', 'c1', 'c5'], 27 players: [ 28 { 29 status: 'disconnected', 30 displayName: 'Pero', 31 betAmount: 33, 32 }, 33 { 34 status: 'playing', 35 displayName: 'Johnny', 36 betAmount: 29, 37 }, 38 { 39 status: 'onTurn', 40 displayName: 'Waterlo', 41 betAmount: 199, 42 }, 43 ] 21 44 } 45 // pokerGame: { 46 // status: '', 47 // turnIdx: 0, 48 // players: [], 49 // } 22 50 } 23 51 -
redux/reducers/styleSlice.js
r9bd09b0 race7865 83 83 // roulette 84 84 roulette: { 85 COUNTDOWN_FROM: 30, 85 86 displays: { 86 87 betModal: false, … … 95 96 x: 0, 96 97 y: 0, 98 }, 99 showCoin: false, 100 }, 101 // poker 102 poker: { 103 displays: { 104 raiseModal: false, 105 }, 106 inputControls: { 107 raise: { 108 chosenCredits: 0, 109 } 110 }, 111 callAmount: 0, 112 texts: { 113 text1: 'A new card has been dealt!', 114 text2: 'Player Pero\'s Turn (00:13)', 115 text3: 'Pero has disconnected. They have 30 seconds to reconnect.' 97 116 } 98 117 }
Note:
See TracChangeset
for help on using the changeset viewer.