Files
pokerfreak/arena/exploit/examples/make_toy.rs
T

9 lines
441 B
Rust

//! Write a toy blueprint checkpoint (tiny sizing, coarse buckets) for trying the CLI:
//! `cargo run --release -p exploit --example make_toy -- OUT PLAYERS ITERS`
fn main() {
let a: Vec<String> = std::env::args().collect();
let (players, iters) = (a[2].parse().unwrap(), a[3].parse().unwrap());
let st = exploit::train_blueprint(players, iters, 11);
blueprint::io::save(&st, std::path::Path::new(&a[1])).unwrap();
}