move generation
This commit is contained in:
+12
-1
@@ -1,3 +1,14 @@
|
||||
use std::time::Instant;
|
||||
|
||||
use tak_lib::Board5x5;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
let board = Board5x5::new();
|
||||
// for b_move in board.moves_iter() {
|
||||
// println!("{:?}", b_move);
|
||||
// }
|
||||
let before = Instant::now();
|
||||
let moves: Vec<_> = board.moves_iter().collect();
|
||||
let dur = before.elapsed();
|
||||
println!("{:?}", dur);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user