board printing

This commit is contained in:
2025-01-27 11:06:34 -05:00
parent ad551391b2
commit 6dde0ff29f
2 changed files with 32 additions and 1 deletions

View File

@@ -1,7 +1,12 @@
use repr::{Board, Piece};
mod agent;
mod game;
mod repr;
fn main() {
println!("Hello, world!");
let mut board = Board::new();
board.place(0, 1, Piece::Black).unwrap();
board.place(0, 3, Piece::White).unwrap();
println!("{}", board);
}