1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#![doc(html_root_url = "https://jordanbray.github.io/chess/")]
mod board;
pub use board::*;
mod bitboard;
pub use bitboard::{BitBoard, EMPTY, get_rank, get_file, get_adjacent_files};
mod cache_table;
pub use cache_table::*;
mod castle_rights;
pub use castle_rights::*;
mod chess_move;
pub use chess_move::*;
mod color;
pub use color::*;
mod construct;
pub use construct::*;
mod file;
pub use file::*;
mod magic;
pub use magic::{get_bishop_rays, get_rook_rays, get_rook_moves, get_bishop_moves, get_king_moves, get_knight_moves, get_pawn_attacks, get_pawn_quiets, get_pawn_moves, line, between};
mod piece;
pub use piece::*;
mod rank;
pub use rank::*;
mod square;
pub use square::*;
mod movegen;
pub use movegen::*;
mod zobrist;
extern crate rand;
#[macro_use]
extern crate lazy_static;