[−][src]Crate chess_engine
Structs
| Board | |
| BoardBuilder | |
| Position | |
| Square | Essentially a container for a single piece on a board. |
Enums
| Color | The color of a piece. |
| GameResult | The result of a move being played on the board. |
| Move | A move that can be applied to a board. When applied to a board, the board assumes that the move is being applied for the current turn's player. |
| Piece | A piece on a board. |
Constants
| A1 | |
| A2 | |
| A3 | |
| A4 | |
| A5 | |
| A6 | |
| A7 | |
| A8 | |
| B1 | |
| B2 | |
| B3 | |
| B4 | |
| B5 | |
| B6 | |
| B7 | |
| B8 | |
| BLACK | |
| C1 | |
| C2 | |
| C3 | |
| C4 | |
| C5 | |
| C6 | |
| C7 | |
| C8 | |
| D1 | |
| D2 | |
| D3 | |
| D4 | |
| D5 | |
| D6 | |
| D7 | |
| D8 | |
| E1 | |
| E2 | |
| E3 | |
| E4 | |
| E5 | |
| E6 | |
| E7 | |
| E8 | |
| EMPTY_SQUARE | A square containing no piece |
| F1 | |
| F2 | |
| F3 | |
| F4 | |
| F5 | |
| F6 | |
| F7 | |
| F8 | |
| G1 | |
| G2 | |
| G3 | |
| G4 | |
| G5 | |
| G6 | |
| G7 | |
| G8 | |
| H1 | |
| H2 | |
| H3 | |
| H4 | |
| H5 | |
| H6 | |
| H7 | |
| H8 | |
| WHITE |
Traits
| Evaluate | Evaluate a board and extract information, such as the best and worst moves. |