blob: c9413b6b83de99e281d44cc9f55459cfb08d7a78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
|