lila
lila copied to clipboard
Show who aborts a game
Currently on the game history it just says "Game aborted". I suggest to change it to "White aborted" or "Black aborted". It is easy to see if a user is aborting against high rated players or low rated players or some other type of players etc. EDIT: I deleted some text that was wrong.
I'm glad to learn that it's an easy change. I'll be awaiting your pull request.
I can't program the language. I have a little experience in Python and changing text isn't hard there. I don't know about this one.
Oh. But then, how do you know that "this is an easy change, just changing text"? Maybe you've made a chess server in python already?
Maybe I was wrong. I have made really simple programs before with text but not a chess server.
Ok just forget about what I said earlier, can you consider adding this feature?
Currently, it seems that this is the data available to the UI for a game:
{
"data": {
"game": {
"id": "a7IAhZym",
"variant": {
"key": "standard",
"name": "Standard",
"short": "Std"
},
"speed": "correspondence",
"perf": "correspondence",
"rated": false,
"fen": "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1",
"player": "white",
"turns": 0,
"startedAtTurn": 0,
"source": "lobby",
"status": {
"id": 25,
"name": "aborted"
},
"createdAt": 1659201031692
}
}
}
Game used: https://lichess.org/a7IAhZymRQxh
We can see that the status is aborted but there is no information on which player aborted the game.