pounce 2.0.2

A mediocre (but trying its best) uci chess engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use anyhow::Result;
use pounce::engine::Uci;

fn main() -> Result<()> {
    pounce::init();

    let mut uci = Uci::new();
    let args: Vec<String> = std::env::args().collect();

    if args.len() > 1 {
        let command = args[1..].join(" ");
        uci.run_once(&command)
    } else {
        uci.run_loop()
    }
}