From 4401ed7dde997733bc4ccfba18b860b775e74df1 Mon Sep 17 00:00:00 2001 From: Luxferre Date: Thu, 18 Jan 2024 11:56:30 +0200 Subject: [PATCH] Fixed column movement --- nnfc.awk | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/nnfc.awk b/nnfc.awk index 7dab172..6ba965d 100644 --- a/nnfc.awk +++ b/nnfc.awk @@ -190,22 +190,25 @@ function domove(cmd, isauto, valid, nums, from, to, amt, i, si, ec, efc) { efc = 0 # reuse for starting index in source tableau if(from < 9) efc = tablens[rfrom] - amt if(efc > -1) { # check if we aren't moving more cards than allowed - for(i=0;i -1 && (stackcond(si, cval) || tablens[rto] == 0)) { + for(i=0;i