lichess-org / lichess-org/api

Add last move time to game PGNs and info where a date and time are returned

Open
#654 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
597
Forks
176
Avg merge
1d 4h
Merged PRs (30d)
6

Description

The scenario is as follows: a correspondence game is being played, a move every few days as an extreme case. When one gets the list of the user's games, they are ordered depending on the time they started. When the game ends, months from when is started, you don't even see it in any recent game lists.

I believe the information of last updated, not created, should be used for ordering. Even if it is not, it should be available for reordering client side. At this time there is no way to get the information of the last move other than request the clock information and add the time for each move to the start of the game. Moreover, correspondence games [don't even export the clock](https://github.com/lichess-org/api/issues/653) information!

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the API documentation for game lists, PGN exports, and responses that return date and time information. Compare the available timestamps with the issue's correspondence-game scenario, then identify where a last-move time could be exposed and verify that completed games can be reordered from the returned data.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.