From 7cbb9d72dcd2e33bebc59a9cc82e724864f94d43 Mon Sep 17 00:00:00 2001 From: Aaditya Murthy Date: Tue, 10 Oct 2023 09:49:22 -0500 Subject: [PATCH] comment --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index d5ce85b..3ce1564 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,6 +12,7 @@ pub fn get_next_move(fen: &str) -> JsValue { }; let movegen = MoveGen::new_legal(&board); + // return first random move for chess_move in movegen { // This move does not capture anything return JsValue::from_str(&chess_move.to_string());