diff options
Diffstat (limited to 'params.h')
-rw-r--r-- | params.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/params.h b/params.h new file mode 100644 index 0000000..c9413b6 --- /dev/null +++ b/params.h @@ -0,0 +1,17 @@ +#pragma once + + +// number of stones of 1 colour +#define N 26 + +// number of colours +#define NC 2 + +// winning row length +#define RLEN 5 + +// board size; this leaves 4 / 2 = 2 spaces around the board at all times +#define BSZ (2 * N * NC - 1 + 4) + +// board middle, coords of first stone +#define BMID (BSZ / 2) |