lichess.org
Donate

First bug I've found on lichess (it doesn't affect anything)



Another random example)
Pawn check on the 7th line is impossible
Double check of knight and pawn is also impossible
They're playing the simulation where two noob players are playing irl and don't realize they're in check
Yes, this position is illegal, but for the computer this is usually hard to decide in general.

But with illegal positions, basically anything can happen, and no engine or GUI would make any guarantee that it works. Missing kings will probably be caught by every decent software. But for example 10 queens for the same side might get through, but some engines will crash of behave strangely, basically "undefined behaviour".

But even with this position, with two knight checks, it could easily lead to problems, when some code relies on the fact that there could only ever be one check by a knight at a time. So it might simply assume that capturing one of the knights would be enough to eliminate the threat, coming up with an illegal move as legal (if this makes sense in this context).

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