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
#![feature(inclusive_range_syntax)]
#![feature(test)] extern crate test;
mod color;
pub mod board;
mod functions;
mod axes;
mod directions;
pub use color::Color;
pub use board::{Board, PlaceInfo, PlaceError, PlaceResult};
pub use functions::*;
pub use axes::*;
pub use directions::*;
pub const GRID_LEN: usize = 19;
pub type Position = (usize, usize);
pub type Tile = Option<color::Color>;
pub type Grid = [[Tile; GRID_LEN]; GRID_LEN];