From 2320435a85ecc441b01b3b2449292e4b2166d6cd Mon Sep 17 00:00:00 2001 From: Coding with Tom <146443103+hcsalmon1@users.noreply.github.com> Date: Sat, 18 Jan 2025 21:48:55 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e557dc8..77bf09e 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Zig: 348ms Feel free to make improvements to any of the code. Some notes: -We test the opening chess position to depth 6. Target: 119,060,324 nodes --The max moves in a chess position are 220. I made the moveList 250 just for safety. The max moves reached from any chess position +-The max moves in a chess position are 220. I made the moveList 250 just for safety. The max moves reached from any chess position from the start is 46. So you can set the move_list to 46 elements without an index error but this will make the algorithm break in any other position. -Another approach is to make the move_list global and use an index like this: