lichess-org / lichess-org/api

Feature Request: Make claim victory (opponentGone) also available for direct (friends) game

Open
#207 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
597
Forks
176
Avg merge
1d 4h
Merged PRs (30d)
6

Description

The new feature (opponentGone) doesn't work for direct match.

UseCase:
I use this direct match for doing "revenge" matches (app just change the colors), so this is not for friends only.

Therefore I would be nice, if I can also claim victory on such games too. Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing opponentGone handling for standard games and the code path for direct matches, then compare their eligibility rules. Done means a direct friends game can also claim victory when the opponent is gone, with the existing behavior for other games preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.