diff options
Diffstat (limited to 'voerbak/win.c')
-rw-r--r-- | voerbak/win.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/voerbak/win.c b/voerbak/win.c index 021601a..80ab0ba 100644 --- a/voerbak/win.c +++ b/voerbak/win.c @@ -44,8 +44,11 @@ bool checkWin(Board *b, int pos) { int start_pos = pos + directions[i+0] * values[i+0]; int end_pos = pos + directions[i+4] * values[i+4]; - printf("w:%d-%d\n", start_pos, end_pos); - fflush(stdout); + + if (verbosity >= 0) { + printf("w:%d-%d\n", start_pos, end_pos); + fflush(stdout); + } } } |