commit cb627e5c71f581ddc91e2da1760edd6e5efd80f9
parent 71b4ce883e1051b0777fb621dc64d04b79536c0a
Author: benjamin paul <bpaul@bpaul.xyz>
Date: Sat, 7 Aug 2021 10:26:50 +1000
correction
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main.c b/src/main.c
@@ -18,10 +18,10 @@ main() {
* setoption command or a go searchmoves command. The position command is
* the only command out of these which may be used in an actual setting.
* For it to be the case that the command is too big, there must be
- * (2048-17)/5 moves made being the buffer size minus the length of
- * "position startpos" divided by the size of a move, being 4 characters
- * and a space. This means that with this buffer size, a game cannot go on
- * for longer than 406 moves. */
+ * (2048-23)/5 moves made being the buffer size minus the length of
+ * "position startpos moves" divided by the size of a move, being 4
+ * characters and a space. This means that with this buffer size, a game
+ * cannot go on for longer than 405 moves. */
char buf[2048];
for (;;) {