Ignore:
Timestamp:
07/12/22 00:13:20 (2 years ago)
Author:
anastasovv <simon@…>
Branches:
main
Children:
e9f11ac
Parents:
95ce58b
Message:

Roulette rethought with 1 second update calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • redux/reducers/playerSlice.js

    r95ce58b rd0ef259  
    1616    },
    1717    rouletteGame: {
    18         status: '',
    19         timeToStart: 0,
    20         players: [],
     18        game: {
     19            status: '_1_ongoing_timer',
     20            timeToStart: 30,
     21            COUNTDOWN_FROM: 30,
     22            WAIT_BEFORE: 20,
     23            magicNumber: -1,
     24            winningBets: [],
     25            players: [],
     26        },
     27        player: {
     28            session_id: '',
     29            name: '',
     30            whichBets: [],
     31            coinPlaced: {
     32                x: -1,
     33                y: -1,
     34            },
     35            credits: -1,
     36            betAmount: 0,
     37            wonAmount: 0,
     38            status: '_1_',
     39            outcome: 'none',
     40            gotResults: false,
     41        },
    2142    },
    2243    pokerGame: {
Note: See TracChangeset for help on using the changeset viewer.