diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-02-21 14:19:34 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-02-21 14:48:06 +0300 |
commit | 69f3c48fb99d96f3fbc4ab49f5fb6d1d8e90e270 (patch) | |
tree | 57c53013f2742c3d05762c7fdd066f66bd631e09 /src/main.rs | |
parent | 5e9543dcc6a012aef73d342080bfec46690b5446 (diff) | |
download | chessnost-69f3c48fb99d96f3fbc4ab49f5fb6d1d8e90e270.tar.gz |
refactor: split Board module into submodules
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 51bb57a..7788b73 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,8 +1,9 @@ use std::time::{Duration, Instant}; use std::env; +use chessnost::board::color::Color; use chessnost::board::io::IO; -use chessnost::board::{Board, Color}; +use chessnost::board::Board; fn opponent_move(board: &mut Board) { let mov = match board.read_move() { |