Skip to content

Game master selects a puzzle

Alexander Gerasimov edited this page Apr 5, 2017 · 1 revision

❓ Game master selects a puzzle (click on puzzle number 4):

  1. _qd-ui -> fe-service:

    {
        to: 'front-service',
        message: {
            name: 'puzzleIndex.set',
            index: 3,
        }
    }
  2. fe-service --> redemption:

    {
        to: 'state-service',
        message: {
            name: 'puzzleIndex.set',
            sessionId: 'rsconf-2017',
            puzzleIndex: 3
        }
    }
  3. redemption --> fe-service:

    {
        to: 'front-service',
        message: {
            name: 'puzzle.changed',
            sessionId: 'rsconf-2017',
            puzzleIndex: 3,
            puzzleName: 'Map',
            timeLimit: 180
        }
    }
  4. fe-service --> _qd-ui:

    Player:

    {
        to: '_qd-ui',
        message: {
            name: 'puzzle.changed',
            puzzleIndex: 3,
            puzzleName: 'Map',
            timeLimit: 180
        }
    }