|
8 | 8 | // can cause spuriously high scores. |
9 | 9 | const unsigned int kWordScores[] = { |
10 | 10 | // 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 |
11 | | - 0, 0, 0, 1, 1, 2, 3, 5, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11}; |
| 11 | + // 0, 0, 0, 1, 1, 2, 3, 5, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11}; |
| 12 | + 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; |
| 13 | + |
| 14 | +static_assert( |
| 15 | + sizeof(kWordScores) / sizeof(kWordScores[0]) == 26 |
| 16 | +); |
12 | 17 |
|
13 | 18 | // 5x5 board, 26 letters. |
14 | 19 | const int MAX_CELLS = 5 * 5; |
|
0 commit comments