diff --git a/README.md b/README.md index d97834b..2e2a582 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,10 @@ This is to be used for an upcoming game made by our group "twoleaflotus". - BasicBot (Cirno) - Alpha-beta Pruning - Material Counting - - Piece-square tables - - History Heuristic + - Piece-square tables (from PeSTO's Evaluation Function) - MVV-LVA - Killer Heuristic + - TT-tables - UCI (`go depth x` only) ### Todo diff --git a/src/main.rs b/src/main.rs index 5f2aba0..e553a06 100644 --- a/src/main.rs +++ b/src/main.rs @@ -39,6 +39,10 @@ fn output_thread(out: UciMessage, bot: &mut BasicBot, toggle_ready_ok: &Arc { + std::process::exit(0); + } + UciMessage::Position { startpos, fen, @@ -115,6 +119,7 @@ fn output_thread(out: UciMessage, bot: &mut BasicBot, toggle_ready_ok: &Arc {} @@ -173,7 +178,8 @@ fn main() { | UciMessage::IsReady | UciMessage::Position { .. } | UciMessage::Go { .. } - | UciMessage::Stop => output_tx.send(uci_message), + | UciMessage::Stop + | UciMessage::Quit => output_tx.send(uci_message), // not supported, use position startpos moves e2e4 ... instead. // https://stackoverflow.com/questions/56528420/basic-questions-on-uci-engine-ucinewgame-and-multiple-clients