Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game interrupt flows #5

Open
6 tasks
subcontrabass opened this issue May 21, 2021 · 1 comment
Open
6 tasks

Game interrupt flows #5

subcontrabass opened this issue May 21, 2021 · 1 comment
Labels
enhancement ➕ New feature or request

Comments

@subcontrabass
Copy link
Contributor

subcontrabass commented May 21, 2021

We need to create a flow for receiving or sending the following game possibility:

  • draw
  • takeback
  • promotion
  • resign
  • pause
  • game over

js notify to accept/ignore both on screen, and mirrored on launchpad

@subcontrabass subcontrabass added the enhancement ➕ New feature or request label May 21, 2021
@mrharpo
Copy link
Contributor

mrharpo commented Jan 27, 2022

Resign

type: "gameState"
status: "resign"
winner: "white"

Draw offer

type: "gameState"
wdraw: true

Draw declined

type: "chatLine"
room: "player"
text: "Black declines draw"
username: "lichess"

Takeback

type: "chatLine"
room: "player"
text: "Takeback sent"
username: "lichess"

Takeback declined

type: "chatLine"
room: "player"
text: "Takeback declined"
username: "lichess"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ➕ New feature or request
Projects
Status: 📋 Backlog
Status: 📋 Backlog
Development

No branches or pull requests

2 participants