serenity/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
UCICommand.cpp
UCICommand.h
UCIEndpoint.cpp
UCIEndpoint.h