We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d51489 commit c20280eCopy full SHA for c20280e
src/games/deckfish.ts
@@ -343,7 +343,7 @@ export class DeckfishGame extends GameBase {
343
344
private populateTableau(): number[][] {
345
//Abstract the data structure to only what is needed for movement.
346
- let tableau = new Array(columns).fill(-1).map(() => new Array(rows).fill(-1));
+ const tableau = new Array(columns).fill(-1).map(() => new Array(rows).fill(-1));
347
for (let x = 0; x < columns; x++) {
348
for (let y = 0; y < rows; y++) {
349
//The tableau was initialized to all -1's (gaps).
0 commit comments