lichess.org
Donate

More material puzzles?

Reply to Clarkey:

But what about material advantages? I guess it could be hard to get a lot of them, but why would determining if a position was check or not be so hard? It could be accomplished easily with a if else statement.
There are a lot of material advantage puzzles. A significant amount. I think about half of the puzzles are material advantage, but for whatever reason you don't see many of them.

Be it not many people upvote them, or they're all clumped to the lower rating ranges, I don't personally know. But there's a lot of them.

Checking if a position is check is a lot like ray-tracing imaging -- it takes a bit of effort to code and understand from first principles.
"It could be accomplished easily with a if else statement"

As a developer, this is my favorite quote ever. Just so true. And about everything!
Why are you checking all diagonals, lines and L shapes?

Isn't enough to pass the type of the last piece moved as a parameter and see if that piece is attacking the king?
Gotta do everything. Admittedly I wrote this script backwards, but it works fast enough, so meh.
Half the puzzles are material ones!?!?!? Well, then you need harder ones. I guess they're all in lower rating sections (for a previous test account, yeah, I got loads of material puzzles at 900 level). We need harder ones. And I'll create test accounts aimed to have a certain elo (1000,1100,1200,1300,1400,1500,1600) and enter in the comments how many mates & material puzzles I get after attaining within 20 of the rating. Usernames of those accounts are Tst-1000, Tst-1100, Tst-1200 etc. Let's see the results...
Sadly, 10/10 of the puzzles close to my level (this account's level ; 1000) were mates .
I won't create Tst-1100... as the result is probably the same. Probably all downvoted.

This topic has been archived and can no longer be replied to.