- Blind mode tutorial
lichess.org
Donate

Using the lichess API and lichess embedded games to create something great

I've seen many fun chess exercises over the decades, and this tops the list!

I solved a 5-puzzle run in under 5 minutes: https://geochessr.io/run/CQJXCHMY

I've seen many fun chess exercises over the decades, and this tops the list! I solved a 5-puzzle run in under 5 minutes: https://geochessr.io/run/CQJXCHMY

@Toadofsky said in #2:

I've seen many fun chess exercises over the decades, and this tops the list!

I solved a 5-puzzle run in under 5 minutes: geochessr.io/run/CQJXCHMY
In 25 seconds
https://geochessr.io/run/TFZEYKQD

@Toadofsky said in #2: > I've seen many fun chess exercises over the decades, and this tops the list! > > I solved a 5-puzzle run in under 5 minutes: geochessr.io/run/CQJXCHMY In 25 seconds https://geochessr.io/run/TFZEYKQD

I find your app quit interesting. I have a similar use case, but in my case I would like to have the app select puzzles from a list of lichess puzzles. Here, I have such a list of quite move puzzles from middle games sorted by rating:
https://drive.google.com/file/d/1rhA04rt8uJEeIMQlU5BSndz8wm4efrRN/view?usp=sharing

I am playing this list from its very beginning, because the most basic puzzles often reveal patterns that are building blocks for later more complex solutions. One such pattern, that I have discovered here, is, for example, a pattern that I call the
Bishop's Break Out Pattern (in absence of a better name):

https://lichess.org/training/tqDfR
https://lichess.org/training/1WG7k
https://lichess.org/training/Hn8gz

I am learning this using the above list with Excel, but I am sure there's got to be a more intuitive way to do this and make such patterns available for non-technical users. So, I am wondering, if a similar application like yours is feasible based a list puzzles supplied via csv file?

I find your app quit interesting. I have a similar use case, but in my case I would like to have the app select puzzles from a list of lichess puzzles. Here, I have such a list of quite move puzzles from middle games sorted by rating: https://drive.google.com/file/d/1rhA04rt8uJEeIMQlU5BSndz8wm4efrRN/view?usp=sharing I am playing this list from its very beginning, because the most basic puzzles often reveal patterns that are building blocks for later more complex solutions. One such pattern, that I have discovered here, is, for example, a pattern that I call the Bishop's Break Out Pattern (in absence of a better name): https://lichess.org/training/tqDfR https://lichess.org/training/1WG7k https://lichess.org/training/Hn8gz I am learning this using the above list with Excel, but I am sure there's got to be a more intuitive way to do this and make such patterns available for non-technical users. So, I am wondering, if a similar application like yours is feasible based a list puzzles supplied via csv file?

@dirkster99 big chess websites like lichess are already implementing something like this: E.g. on https://lichess.org/training/themes you can already select puzzles from various themes.

The reality is that detecting which pattern a chess position tests is a very non-trivial problem and you are likely not going to improve over this. But this should not discourage you from treating this as a fun exercise to maybe learn some actual coding.

If your goal is just to show the puzzles from your drive file on a website, you can easily do that with lichess embedded games. Just check https://lichess.org/developers, and if you manage to setup a webserver (or use one of the services out there that do the hard parts for you), then showing the games from your csv is just a few lines of code that I am confident you can figure out.

@dirkster99 big chess websites like lichess are already implementing something like this: E.g. on https://lichess.org/training/themes you can already select puzzles from various themes. The reality is that detecting which pattern a chess position tests is a very non-trivial problem and you are likely not going to improve over this. But this should not discourage you from treating this as a fun exercise to maybe learn some actual coding. If your goal is just to show the puzzles from your drive file on a website, you can easily do that with lichess embedded games. Just check https://lichess.org/developers, and if you manage to setup a webserver (or use one of the services out there that do the hard parts for you), then showing the games from your csv is just a few lines of code that I am confident you can figure out.

Hes i clicked the website linnk and it said not found

Hes i clicked the website linnk and it said not found

This is fun to play, thanks for sharing!

This is fun to play, thanks for sharing!

I'd prefer to see median score and median time rather than average score & time, because outliers skew averages.

I'd prefer to see median score and median time rather than average score & time, because outliers skew averages.

Perhaps also consider counting moves since the position left the opening book (any book of your preference). Players below 1500 play some pretty wacky, difficult to predict stuff.

Perhaps also consider counting moves since the position left the opening book (any book of your preference). Players below 1500 play some pretty wacky, difficult to predict stuff.

Perhaps add another game mode about "predict which player is higher rated" since apparently that's a popular thing (although I think "guess the Elo" is ridiculous).

Perhaps add another game mode about "predict which player is higher rated" since apparently that's a popular thing (although I think "guess the Elo" is ridiculous).