diff options
| author | Franklin Wei <me@fwei.tk> | 2017-05-29 17:47:01 -0400 |
|---|---|---|
| committer | Franklin Wei <me@fwei.tk> | 2017-05-29 17:50:07 -0400 |
| commit | b4efaf40b985f3325680fe4fb72efcc74d5d8c7a (patch) | |
| tree | e2c3957a9e4257cbd0580c0cc933a2a4db3cec23 /chess.h | |
| parent | 175feded9001a2728e3b1334542ac68b79312957 (diff) | |
| download | xenonchess-b4efaf40b985f3325680fe4fb72efcc74d5d8c7a.zip xenonchess-b4efaf40b985f3325680fe4fb72efcc74d5d8c7a.tar.gz xenonchess-b4efaf40b985f3325680fe4fb72efcc74d5d8c7a.tar.bz2 xenonchess-b4efaf40b985f3325680fe4fb72efcc74d5d8c7a.tar.xz | |
time control, removes depth-based stuff
Diffstat (limited to 'chess.h')
| -rw-r--r-- | chess.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ bool king_in_check(const struct chess_ctx *ctx, int color, struct coordinates *k void print_ctx(const struct chess_ctx *ctx); int best_move_negamax(const struct chess_ctx *ctx, int depth, int a, int b, - int color, struct move_t *best, int full); + int color, struct move_t *best, int full, int stop_time); bool can_castle(const struct chess_ctx *ctx, int color, int style); uint64_t perft(const struct chess_ctx *ctx, int depth); struct chess_ctx ctx_from_fen(const char *fen, int *len); |