[关闭]
@Lee2011 2020-12-22T14:53:57.000000Z 字数 476 阅读 559

网赛流程

国际象棋


  1. 后台创建比赛
  2. 棋手报名, 上传对阵表, 对阵表上传好以后, 数据库的这个表就有相应的数据 tournament_pairings_results
  3. php artisan lichess:create-bind-user-tournament { tr_id } 跑这个命令 创建并绑定 棋迹 用户
  4. 棋迹 用户绑定好以后 player_lichess 这个表里就有用户相关信息
  5. 在 棋迹 系统里创建用户的 token, 并更新到 player_lichess 表的 lichess_user_token 字段里
  6. php artisan lichess:setup-tournament-magic-link-tournament { tournament_id } 跑这个命令 根据比赛 id 创建 magic-link 用于自动登录 棋迹
  7. 每轮比赛开始前,可以用这个命令创建比赛 lichess:create-challenge-for-round-start-batch { t_id } { g_id } { r_id }
  8. 这个命令可以更新比赛状态:lichess:get-board-status-batch-by-tournament
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注