KonstantinKlepikov / cold-war-boardgame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add endpoint for influence struggle, where we choose who turn first in that phase

chemeshuggah opened this issue · comments

  • as query
  • check has_priority on back, if not - raise error (what a error)

#133

this is in influence struggle

  1. Suggestion. Add in to player schema after "has_priority":
    "has_turn_first": {
    "title": "Priority for briefing phase",
    "type": "boolean"
    },

  2. Suggestion. Add in to api/v1/game/next endpoint after "phase":
    {
    "required": false,
    "schema": {
    "title": "Turn first in briefing phase",
    "enum": [
    "push"
    ],
    "type": "boolean"
    },
    "name": "has_turn_first",
    "in": "query"
    }

  3. 409 error (Conflict)

it is balance setting - is makes in previous phase