send uci info
This commit is contained in:
parent
d5b679b6bf
commit
711569b8e5
8 changed files with 118 additions and 59 deletions
|
|
@ -1,7 +1,8 @@
|
|||
use chess_engine::engine::Engine;
|
||||
use chess_engine::uci::uci_mainloop;
|
||||
use chess_engine::uci::UCI;
|
||||
|
||||
fn main() {
|
||||
let mut engine = Engine::new("Yakari".to_string(), "EiSiMo".to_string());
|
||||
uci_mainloop(&mut engine);
|
||||
let mut uci = UCI { engine };
|
||||
uci.uci_mainloop();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue