From 8915093ce1ed103cc52481118e1ab47bec663236 Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Sun, 17 Jan 2021 21:06:04 -0500 Subject: Revert "Starting work on MCU port" This reverts commit 43eec01361eb6174142180c29afef960e041514e. --- include/ct1986.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/ct1986.c b/include/ct1986.c index 88cba26..1d1d253 100644 --- a/include/ct1986.c +++ b/include/ct1986.c @@ -41,7 +41,7 @@ ct1986_evaluate_black_win(void) { for (uint8_t kx = 0; kx < KERN_SIZE; kx++) { for (uint8_t c = 0; c < KERN_CHAN; c++) { // Where we are on the board - const uint8_t loc = kx+by+(ky+bx)*board_size; + const uint8_t loc = kx+by+(ky+bx)*5; // Look up what's on the board at this location, and // multiply it. For c=0 we have to do some extra work float lookup = 0; @@ -129,7 +129,7 @@ static enum WIN_TYPE w; #define WIN_EVALUATE_OR_RECURSE(store) { \ w = 0xFF; \ - if (ply >= 2*board_size - 2) w = check_win(); \ + if (ply >= 2*5 - 2) w = check_win(); \ if (w < 0xFF) { \ /* Somebody won, assign weights accordingly */ \ if (min == 0) { \ -- cgit v1.3.1