Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aadi123 committed Oct 10, 2023
1 parent 9ca2cab commit b1923a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ pub fn get_next_move(fen: &str) -> JsValue {
return JsValue::from_str(&chess_move.to_string());
}
return JsValue::from_str(
&ChessMove::new(Square::E4, Square::E4, Some(Piece::Queen)).to_string(),
&ChessMove::new(Square::E2, Square::E4, Some(Piece::Queen)).to_string(),
);
}

0 comments on commit b1923a7

Please sign in to comment.