diff --git a/board/Cargo.toml b/board/Cargo.toml index 70584c2..db11c0d 100644 --- a/board/Cargo.toml +++ b/board/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "board" +name = "chessfriend_position" version = "0.1.0" edition = "2021" diff --git a/explorer/Cargo.toml b/explorer/Cargo.toml index 3f2513b..3281cf4 100644 --- a/explorer/Cargo.toml +++ b/explorer/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] chessfriend_core = { path = "../core" } -board = { path = "../board" } +chessfriend_position = { path = "../position" } clap = { version = "4.4.12", features = ["derive"] } rustyline = "13.0.0" shlex = "1.2.0" diff --git a/explorer/src/main.rs b/explorer/src/main.rs index fedd11c..9bf7000 100644 --- a/explorer/src/main.rs +++ b/explorer/src/main.rs @@ -1,6 +1,5 @@ -use board::piece::{Color, Piece, Shape}; -use board::Position; use chessfriend_core::Square; +use chessfriend_position::{fen::ToFen, MakeMoveBuilder, MoveBuilder, Position, PositionBuilder}; use clap::{Arg, Command}; use rustyline::error::ReadlineError; use rustyline::DefaultEditor;