dzura/server/docs/protocol/requests.md
2024-08-08 23:16:22 -07:00

570 B

Table

User Authentication

  • Register—create a new account.
    • Handle
    • Secret
    • Invite_Code
  • Authenticate—log into an account and create a new client session.
    • Handle
    • Secret
  • Deauthenticate—revoke the current client session.

Sessions

  • List_Sessions—
    • Page
    • Ongoing or Complete
    • Joinable
    • Live
  • Update_Sessions—

Game

  • Join—
    • Session_Id
  • Spectate—
    • Session_Id
  • Leave—
  • Retire—
  • Play—
    • Move_Source [ Board, Pool ]
    • Move_From
    • Piece_From
    • Move_To
    • Piece_To