A rust chess library built for performance, handling game logic and legal/best move generation.
use giga_chess::prelude::*;
fn main() {
let engine = Engine::initialize();
let mut game = Game::new(&engine, PGNMetadata::now());
let moves = game.legal_moves();
// Choose some kind of move
let chosen_move = *moves.iter().nth(0).unwrap();
game.play_move(&engine, chosen_move);
println!("{}", game.board().to_string());
}