Program used to generate cwchess::candidates_table[]. More...
#include "sys.h"#include <iostream>#include <iomanip>
Go to the source code of this file.
Classes | |
| struct | Direction |
| struct | Piece |
Functions | |
| uint64_t | colrow2mask (int col, int row) |
| int | main () |
Variables | |
| Piece | piece [] |
Program used to generate cwchess::candidates_table[].
Definition in file candidates_table.cc.
| Piece piece[] |
{
{ "Knight", 1, 4, { { 1, 2 }, { 2, 1 }, { 2, -1, }, { 1, -2 } } },
{ "King", 1, 4, { { 0, 1 }, { 1, 0 }, { 1, 1 }, { 1, -1 } } },
{ "Bishop", 8, 2, { { 1, 1 }, { 1, -1 } } },
{ "Rook", 8, 2, { { 0, 1 }, { 1, 0 } } },
{ "Queen", 8, 4, { { 0, 1 }, { 1, 0 }, { 1, 1 }, { 1, -1 } } }
}
Definition at line 43 of file candidates_table.cc.