KonstantinKlepikov / cold-war-boardgame

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backend: Add endpoint for delayed Analyst agent card ability (manipulation with group deck)

chemeshuggah opened this issue · comments

  • reveal top 3 group deck cards
  • rearrange top 3 cards

this ability is available, if in a previous turn win player's that annalist. We need a field in a current_data for save status - is available this ability or not

  • if is_available - go to next phase raises error
  • schema of query - rearrange (list of cards) or nothing
  • when query for rearrange, if player hasn't is_available - raise error

is_available - set True in previous turn, when ability of agent is act, then in current turn we cant go next phase until is_available are switched to false