lila icon indicating copy to clipboard operation
lila copied to clipboard

Show who aborts a game

Open minecraft358 opened this issue 3 years ago • 6 comments

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.

minecraft358 avatar Mar 25 '21 18:03 minecraft358

I'm glad to learn that it's an easy change. I'll be awaiting your pull request.

ornicar avatar Mar 25 '21 19:03 ornicar

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.

minecraft358 avatar Mar 25 '21 23:03 minecraft358

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?

ornicar avatar Mar 26 '21 11:03 ornicar

Maybe I was wrong. I have made really simple programs before with text but not a chess server.

minecraft358 avatar Mar 26 '21 13:03 minecraft358

Ok just forget about what I said earlier, can you consider adding this feature?

minecraft358 avatar Mar 30 '21 21:03 minecraft358

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.

hb20007 avatar Jul 30 '22 19:07 hb20007