Hey thanks a lot! Honestly for the chess part we just simplified the problem at its core, that's why there's only puzzles. In reality we have no chess engine, just a list of problems with the correct move, so anything else is counted as wrong, and there's nothing stopping you from doing an illegal move. So there's the trick for you ;)