lichess-org / lila

♞ lichess.org: the forever free, adless and open source chess server ♞
https://lichess.org
GNU Affero General Public License v3.0
15.03k stars 2.23k forks source link

Filter matches by openings #15762

Closed Ravenant1234 closed 1 month ago

Ravenant1234 commented 1 month ago

image It will be awesome if lichess adds a "Opening" filter to filter matches by a particular opening (ex: Sicilian Defense Accelerated Dragon)

Ravenant1234 commented 1 month ago

For Example:

image

Siderite commented 1 month ago

The opening may change based on the moves. You start with a Sicilian, you enter some gambit, the opening name is changed. Or worse, you get to the same position, but different move order and you get a different opening tag name.

You could try to download all the games, then use a local tool to search for the exact position you want. If you install my browser extension LiChess Tools, you have a PGN Editor feature that searches PGN patterns and even FEN positions. It works in the browser, though, so if the PGN is larger than a few tens of megabytes it might fail due to browser limitations.

Ravenant1234 commented 1 month ago

Yeah the openings can change but I'm referring to already finished games In an already finished game lichess must know what opening was played and if so then display the name of the opening accordingly and provide the functionality to search in an already finished game

Ravenant1234 commented 1 month ago

"Browser limitations"? What kind of "Browser limitations"?

Ravenant1234 commented 1 month ago

" Or worse, you get to the same position, but different move order and you get a different opening tag name"

What?

ornicar commented 1 month ago

We already have a far better tool, the opening explorer: https://lichess.org/analysis#opening/eternitydark