ladybird/Userland/Libraries/LibChess
Martin Blicha 0505a815f7 LibChess: Early check of legal move
One of the conditions for legal move is that the target square is not
occupied by a piece of the same color as the moving piece.

Instead of checking this for each piece separately at the end, we can
check this at the beginning and avoid more expensive checks.
2021-07-26 23:53:41 +02:00
..
Chess.cpp LibChess: Early check of legal move 2021-07-26 23:53:41 +02:00
Chess.h LibChess: Compact the Defenitions of various chess related types 2021-06-22 23:09:42 +02:00
CMakeLists.txt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
UCICommand.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UCICommand.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UCIEndpoint.cpp Everywhere: Turn #if *_DEBUG into dbgln_if/if constexpr 2021-05-01 21:25:06 +02:00
UCIEndpoint.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00