ref: a1d26945672658e8648e1609266fb52fb05179cb
parent: 984f8b257eacce4a475b25f99584d000d9e18d61
author: zamfofex <zamfofex@twdb.moe>
date: Sat Oct 7 02:40:04 EDT 2023
small cosmetic changes
--- a/chess.c
+++ b/chess.c
@@ -21,9 +21,7 @@
static void moonfish_slide(struct moonfish *ctx, struct moonfish_move **moves, unsigned char from, signed char delta)
{unsigned char to = from;
- while (moonfish_delta(ctx, moves, from, &to, delta))
- {- }
+ while (moonfish_delta(ctx, moves, from, &to, delta)) { }}
static void moonfish_jump(struct moonfish *ctx, struct moonfish_move **moves, unsigned char from, signed char delta)
@@ -267,8 +265,6 @@
printf("\n");}
}
-
-#include "moonfish.h"
void moonfish_play_uci(struct moonfish *ctx, char *name)
{--
⑨