Erdogan Seref
Erdogan Seref
> It's possible to download a file without hitting the server. I recently did it for the pgn-viewer: https://github.com/lichess-org/pgn-viewer/blob/master/src/view/main.ts#L43-L50 `h('textarea.lpv__pgn__text', ctrl.opts.pgn)` provides the functionality we need but makes use of...
I have two approaches to solve the problem. Approach one converts the input from ICCF numeric notation to algebraic notation before processing. Approach two modifies the processing to support ICCF...
While through [`keyboardMove` plugin](https://github.com/lichess org/lila/blob/master/ui/keyboardMove/src/plugins/keyboardMove.ts) I encountered some loc I didn't understand. https://github.com/lichess-org/lila/blob/372eb187a9036071cdb72f426f985c9206c652a6/ui/keyboardMove/src/plugins/keyboardMove.ts#L26 What does `null = null` mean? I suppose the assignment returns true like in the C language....
I'm stuck. Although we convert the ICCF to UCI before processing, the input box rejects the notation by turning red. I guess the `submit` function in [`keyboardMove`](https://github.com/lichess-org/lila/blob/master/ui/keyboardMove/src/plugins/keyboardMove.ts) expects SAN so...
Thank you. Now the input box accepts the notation. As a last step we should extend the help message box. We should edit [`keyboardMove.xml`](https://github.com/lichess-org/lila/blob/master/translation/source/keyboardMove.xml). But in which file do we...
I guess we won't include the feature. Is there a reason why we didn't merge the pr yet? I guess other prs have higher priority.
To download the PGN we can use fetch. ```typescript function copyPgnToClipboard(url: string): void { fetch(url) .then(async response => { if (!response.ok) { throw new Error(response.statusText) } const pgn = await...
Then you would have to guess which move the other side would play.
> I like the idea! > > probably we should also check for things like: > > ```kotlin > val a: Int > if (foo > 0) { > a...
We can use a part of the lichess games, filter them for the wanted rating range and train them on maia-chess.