const pregeneratedFields = {
  '5 5': {
    cols: 5,
    rows: 5,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[2, 1], [2, 0], [3, 0], [3, 1], [3, 2], [4, 2], [4, 1], [4, 0]], 1: [[2, 4], [2, 3], [2, 2]], 3: [[1, 3], [1, 2], [1, 1], [1, 0]], 4: [[0, 0], [0, 1], [0, 2]], 6: [[3, 3], [3, 4], [4, 4], [4, 3]], 7: [[1, 4], [0, 4], [0, 3]],
    },
  },
  '5 6': {
    cols: 5,
    rows: 6,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[5, 0], [4, 0], [4, 1], [4, 2], [4, 3], [4, 4], [5, 4]], 1: [[1, 1], [1, 0], [2, 0], [2, 1], [2, 2]], 2: [[5, 1], [5, 2], [5, 3]], 3: [[1, 2], [1, 3], [2, 3], [2, 4], [1, 4]], 5: [[0, 4], [0, 3], [0, 2], [0, 1], [0, 0]], 6: [[3, 0], [3, 1], [3, 2], [3, 3], [3, 4]],
    },
  },
  '5 7': {
    cols: 5,
    rows: 7,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[4, 0], [4, 1], [4, 2], [4, 3]], 1: [[1, 1], [2, 1], [3, 1], [3, 2], [3, 3], [3, 4], [4, 4], [5, 4], [6, 4], [6, 3], [6, 2], [6, 1], [6, 0]], 2: [[2, 2], [1, 2], [0, 2], [0, 3], [0, 4]], 3: [[5, 3], [5, 2], [5, 1], [5, 0]], 4: [[1, 3], [1, 4], [2, 4], [2, 3]], 5: [[0, 1], [0, 0], [1, 0], [2, 0], [3, 0]],
    },
  },
  '5 8': {
    cols: 5,
    rows: 8,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 1], [0, 0, 1, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[1, 0], [2, 0], [2, 1], [3, 1]], 1: [[2, 2], [3, 2], [3, 3], [4, 3]], 2: [[2, 3], [2, 4], [1, 4], [1, 3], [1, 2], [1, 1], [0, 1], [0, 0]], 3: [[0, 4], [0, 3], [0, 2]], 4: [[7, 1], [7, 0], [6, 0], [5, 0], [4, 0], [3, 0]], 5: [[4, 2], [4, 1], [5, 1], [5, 2], [5, 3], [6, 3]], 6: [[3, 4], [4, 4], [5, 4], [6, 4], [7, 4], [7, 3], [7, 2], [6, 2], [6, 1]],
    },
  },
  '5 9': {
    cols: 5,
    rows: 9,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[4, 2], [5, 2], [5, 3], [5, 4]], 1: [[7, 3], [6, 3], [6, 2], [6, 1], [5, 1], [4, 1], [3, 1], [3, 2], [2, 2], [2, 3], [2, 4]], 2: [[1, 4], [0, 4], [0, 3], [1, 3], [1, 2], [1, 1], [2, 1], [2, 0], [3, 0], [4, 0], [5, 0], [6, 0]], 3: [[0, 2], [0, 1], [0, 0], [1, 0]], 5: [[3, 4], [4, 4], [4, 3], [3, 3]], 6: [[8, 1], [8, 0], [7, 0], [7, 1], [7, 2], [8, 2], [8, 3], [8, 4], [7, 4], [6, 4]],
    },
  },
  '5 10': {
    cols: 5,
    rows: 10,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 1, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[4, 3], [5, 3], [6, 3], [6, 2], [7, 2], [7, 1], [8, 1], [8, 0], [9, 0], [9, 1]], 2: [[8, 2], [9, 2], [9, 3], [9, 4]], 3: [[1, 4], [0, 4], [0, 3], [0, 2], [1, 2], [1, 3]], 4: [[3, 3], [3, 4], [2, 4], [2, 3], [2, 2]], 5: [[2, 1], [3, 1], [3, 0], [4, 0]], 6: [[6, 1], [5, 1], [4, 1]], 8: [[7, 0], [6, 0], [5, 0]], 9: [[0, 0], [0, 1], [1, 1], [1, 0], [2, 0]], 11: [[4, 4], [5, 4], [6, 4], [7, 4], [8, 4], [8, 3], [7, 3]], 14: [[5, 2], [4, 2], [3, 2]],
    },
  },
  '6 5': {
    cols: 6,
    rows: 5,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[0, 0], [1, 0], [2, 0], [3, 0], [4, 0]], 1: [[3, 5], [2, 5], [2, 4]], 2: [[2, 1], [1, 1], [0, 1], [0, 2], [0, 3]], 3: [[1, 5], [0, 5], [0, 4], [1, 4], [1, 3], [1, 2], [2, 2]], 4: [[4, 3], [4, 2], [4, 1]], 6: [[3, 1], [3, 2], [3, 3], [2, 3]], 7: [[3, 4], [4, 4], [4, 5]],
    },
  },
  '6 6': {
    cols: 6,
    rows: 6,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[2, 2], [2, 3], [2, 4], [1, 4], [1, 3], [1, 2], [0, 2], [0, 1], [1, 1]], 1: [[2, 1], [3, 1], [3, 2], [3, 3], [3, 4]], 2: [[5, 0], [5, 1], [4, 1], [4, 0], [3, 0], [2, 0], [1, 0], [0, 0]], 3: [[5, 5], [5, 4], [5, 3]], 4: [[5, 2], [4, 2], [4, 3], [4, 4], [4, 5], [3, 5], [2, 5], [1, 5], [0, 5], [0, 4], [0, 3]],
    },
  },
  '6 7': {
    cols: 6,
    rows: 7,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[1, 4], [2, 4], [3, 4], [3, 3], [4, 3], [5, 3], [6, 3]], 1: [[0, 1], [0, 2], [0, 3], [0, 4], [0, 5], [1, 5], [2, 5]], 2: [[3, 5], [4, 5], [5, 5], [6, 5], [6, 4], [5, 4], [4, 4]], 3: [[5, 2], [4, 2], [4, 1], [4, 0], [3, 0], [2, 0], [1, 0], [0, 0]], 5: [[1, 2], [2, 2], [2, 3], [1, 3]], 6: [[1, 1], [2, 1], [3, 1], [3, 2]], 8: [[6, 0], [5, 0], [5, 1], [6, 1], [6, 2]],
    },
  },
  '6 8': {
    cols: 6,
    rows: 8,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[5, 5], [6, 5], [6, 4], [7, 4], [7, 5]], 1: [[5, 2], [6, 2], [6, 1], [6, 0], [5, 0], [4, 0]], 2: [[5, 4], [4, 4], [3, 4], [3, 3], [3, 2], [2, 2], [1, 2], [1, 1], [2, 1]], 3: [[2, 4], [2, 3], [1, 3], [0, 3], [0, 2], [0, 1], [0, 0], [1, 0], [2, 0], [3, 0], [3, 1], [4, 1], [5, 1]], 4: [[7, 0], [7, 1], [7, 2], [7, 3], [6, 3], [5, 3], [4, 3], [4, 2]], 7: [[0, 5], [0, 4], [1, 4], [1, 5], [2, 5], [3, 5], [4, 5]],
    },
  },
  '6 9': {
    cols: 6,
    rows: 9,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[0, 4], [0, 3], [1, 3], [1, 4], [2, 4]], 1: [[2, 0], [3, 0], [3, 1], [4, 1], [5, 1]], 2: [[6, 4], [5, 4], [4, 4], [4, 5]], 3: [[8, 3], [7, 3], [6, 3], [5, 3], [4, 3], [3, 3], [2, 3]], 4: [[6, 2], [7, 2], [8, 2], [8, 1], [8, 0]], 5: [[3, 4], [3, 5], [2, 5], [1, 5], [0, 5]], 7: [[4, 0], [5, 0], [6, 0], [6, 1], [7, 1], [7, 0]], 8: [[5, 2], [4, 2], [3, 2], [2, 2], [1, 2], [0, 2], [0, 1], [0, 0]], 9: [[1, 0], [1, 1], [2, 1]], 10: [[8, 5], [8, 4], [7, 4], [7, 5], [6, 5], [5, 5]],
    },
  },
  '6 10': {
    cols: 6,
    rows: 10,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[1, 1], [1, 2], [1, 3], [2, 3], [2, 4], [2, 5], [3, 5], [4, 5], [5, 5], [6, 5]], 1: [[0, 2], [0, 1], [0, 0], [1, 0], [2, 0], [3, 0], [3, 1], [4, 1], [4, 2]], 2: [[0, 5], [1, 5], [1, 4], [0, 4], [0, 3]], 3: [[6, 2], [5, 2], [5, 1], [5, 0], [4, 0]], 4: [[9, 0], [9, 1], [8, 1], [8, 0], [7, 0], [7, 1], [6, 1], [6, 0]], 6: [[5, 4], [4, 4], [3, 4], [3, 3], [3, 2], [2, 2], [2, 1]], 9: [[9, 5], [8, 5], [8, 4], [8, 3], [7, 3], [7, 2]], 10: [[8, 2], [9, 2], [9, 3], [9, 4]], 11: [[6, 4], [7, 4], [7, 5]], 12: [[6, 3], [5, 3], [4, 3]],
    },
  },
  '7 5': {
    cols: 7,
    rows: 5,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[2, 4], [1, 4], [1, 5], [1, 6]], 1: [[2, 5], [2, 6], [3, 6], [3, 5], [3, 4], [3, 3], [3, 2], [3, 1]], 2: [[0, 3], [1, 3], [2, 3], [2, 2], [2, 1], [2, 0], [3, 0], [4, 0], [4, 1], [4, 2], [4, 3]], 3: [[0, 1], [0, 0], [1, 0], [1, 1], [1, 2], [0, 2]], 5: [[4, 4], [4, 5], [4, 6]], 6: [[0, 4], [0, 5], [0, 6]],
    },
  },
  '7 6': {
    cols: 7,
    rows: 6,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[4, 3], [4, 4], [4, 5], [3, 5], [3, 6], [2, 6]], 1: [[0, 6], [0, 5], [0, 4], [0, 3], [0, 2]], 2: [[2, 3], [2, 4], [2, 5], [1, 5], [1, 6]], 3: [[5, 4], [5, 3], [5, 2], [4, 2], [4, 1], [3, 1], [2, 1], [1, 1], [0, 1]], 4: [[5, 5], [5, 6], [4, 6]], 5: [[1, 4], [1, 3], [1, 2], [2, 2], [3, 2], [3, 3], [3, 4]], 6: [[5, 1], [5, 0], [4, 0], [3, 0], [2, 0], [1, 0], [0, 0]],
    },
  },
  '7 7': {
    cols: 7,
    rows: 7,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[4, 5], [4, 4], [3, 4], [3, 5]], 1: [[6, 6], [5, 6], [4, 6], [3, 6], [2, 6], [2, 5], [2, 4]], 2: [[1, 3], [2, 3], [3, 3], [4, 3], [5, 3], [5, 4]], 3: [[0, 1], [0, 0], [1, 0], [2, 0], [3, 0]], 5: [[2, 2], [1, 2], [0, 2], [0, 3], [0, 4], [0, 5]], 6: [[5, 0], [4, 0], [4, 1], [4, 2]], 7: [[1, 1], [2, 1], [3, 1], [3, 2]], 8: [[5, 5], [6, 5], [6, 4], [6, 3], [6, 2], [5, 2]], 9: [[0, 6], [1, 6], [1, 5], [1, 4]], 10: [[5, 1], [6, 1], [6, 0]],
    },
  },
  '7 8': {
    cols: 7,
    rows: 8,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[6, 6], [5, 6], [5, 5], [4, 5], [3, 5]], 1: [[1, 4], [1, 3], [1, 2], [2, 2], [2, 3]], 2: [[1, 1], [2, 1], [2, 0], [1, 0]], 4: [[0, 3], [0, 4], [0, 5], [1, 5], [2, 5], [2, 4], [3, 4], [3, 3], [3, 2], [3, 1], [3, 0]], 5: [[4, 1], [5, 1], [5, 2], [6, 2], [6, 1]], 7: [[4, 2], [4, 3], [4, 4], [5, 4], [5, 3], [6, 3]], 8: [[4, 0], [5, 0], [6, 0], [7, 0], [7, 1], [7, 2], [7, 3]], 9: [[0, 6], [1, 6], [2, 6], [3, 6], [4, 6]], 10: [[0, 2], [0, 1], [0, 0]], 11: [[7, 4], [6, 4], [6, 5], [7, 5], [7, 6]],
    },
  },
  '7 9': {
    cols: 7,
    rows: 9,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[6, 3], [6, 2], [5, 2], [4, 2], [4, 3], [3, 3], [3, 4], [3, 5], [2, 5]], 1: [[1, 4], [1, 5], [1, 6], [2, 6], [3, 6], [4, 6], [5, 6], [6, 6], [7, 6], [7, 5], [7, 4], [7, 3], [7, 2], [7, 1]], 2: [[8, 0], [8, 1], [8, 2], [8, 3], [8, 4], [8, 5], [8, 6]], 3: [[7, 0], [6, 0], [6, 1], [5, 1], [4, 1], [3, 1], [3, 2], [2, 2], [2, 1]], 4: [[0, 3], [0, 2], [1, 2], [1, 1]], 5: [[5, 3], [5, 4], [4, 4]], 6: [[0, 1], [0, 0], [1, 0], [2, 0], [3, 0], [4, 0], [5, 0]], 8: [[4, 5], [5, 5], [6, 5], [6, 4]], 9: [[1, 3], [2, 3], [2, 4]], 11: [[0, 6], [0, 5], [0, 4]],
    },
  },
  '7 10': {
    cols: 7,
    rows: 10,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[2, 3], [3, 3], [3, 4], [3, 5], [3, 6]], 1: [[0, 2], [0, 1], [1, 1], [2, 1], [3, 1], [4, 1], [5, 1], [6, 1]], 2: [[7, 4], [6, 4], [5, 4], [4, 4], [4, 3], [4, 2], [3, 2], [2, 2], [1, 2], [1, 3], [0, 3], [0, 4]], 3: [[9, 0], [8, 0], [7, 0], [7, 1], [7, 2], [7, 3], [6, 3], [6, 2], [5, 2], [5, 3]], 4: [[5, 5], [6, 5], [7, 5], [8, 5], [9, 5], [9, 4], [9, 3], [9, 2], [9, 1]], 6: [[1, 6], [1, 5], [0, 5], [0, 6]], 7: [[2, 6], [2, 5], [2, 4], [1, 4]], 8: [[9, 6], [8, 6], [7, 6], [6, 6], [5, 6], [4, 6], [4, 5]], 11: [[8, 1], [8, 2], [8, 3], [8, 4]], 13: [[0, 0], [1, 0], [2, 0], [3, 0], [4, 0], [5, 0], [6, 0]],
    },
  },
  '8 5': {
    cols: 8,
    rows: 5,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[3, 5], [2, 5], [1, 5], [1, 4], [0, 4], [0, 3], [0, 2]], 1: [[4, 1], [4, 2], [4, 3], [4, 4], [4, 5], [4, 6], [3, 6], [2, 6], [1, 6]], 2: [[3, 2], [2, 2], [1, 2], [1, 1]], 3: [[4, 0], [3, 0], [3, 1], [2, 1]], 4: [[0, 5], [0, 6], [0, 7], [1, 7], [2, 7], [3, 7], [4, 7]], 6: [[2, 4], [3, 4], [3, 3], [2, 3], [1, 3]], 7: [[2, 0], [1, 0], [0, 0], [0, 1]],
    },
  },
  '8 6': {
    cols: 8,
    rows: 6,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[5, 7], [4, 7], [3, 7]], 1: [[5, 2], [5, 3], [5, 4], [4, 4], [4, 3], [4, 2], [3, 2], [3, 1], [2, 1], [1, 1], [0, 1], [0, 2]], 4: [[1, 5], [1, 6], [0, 6], [0, 5]], 5: [[4, 1], [5, 1], [5, 0]], 6: [[1, 4], [0, 4], [0, 3], [1, 3]], 8: [[0, 7], [1, 7], [2, 7], [2, 6], [2, 5], [2, 4], [2, 3], [2, 2], [1, 2]], 9: [[5, 5], [4, 5], [4, 6], [5, 6]], 10: [[3, 6], [3, 5], [3, 4], [3, 3]], 11: [[4, 0], [3, 0], [2, 0], [1, 0], [0, 0]],
    },
  },
  '8 7': {
    cols: 8,
    rows: 7,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[6, 4], [5, 4], [5, 5], [5, 6]], 1: [[1, 2], [1, 3], [1, 4], [1, 5], [0, 5], [0, 4], [0, 3], [0, 2], [0, 1]], 2: [[5, 1], [4, 1], [3, 1], [3, 2], [3, 3], [3, 4], [3, 5], [3, 6], [3, 7], [2, 7]], 3: [[2, 0], [3, 0], [4, 0], [5, 0], [6, 0], [6, 1], [6, 2], [5, 2], [4, 2]], 4: [[0, 0], [1, 0], [1, 1], [2, 1], [2, 2], [2, 3], [2, 4], [2, 5]], 6: [[4, 5], [4, 6], [4, 7]], 7: [[6, 5], [6, 6], [6, 7], [5, 7]], 8: [[4, 4], [4, 3], [5, 3], [6, 3]], 9: [[0, 6], [0, 7], [1, 7], [1, 6], [2, 6]],
    },
  },
  '8 8': {
    cols: 8,
    rows: 8,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[2, 5], [2, 4], [1, 4], [1, 5], [1, 6], [1, 7]], 1: [[6, 5], [5, 5], [4, 5], [3, 5], [3, 6], [2, 6], [2, 7]], 2: [[7, 0], [6, 0], [6, 1], [5, 1], [4, 1], [3, 1], [2, 1], [1, 1], [0, 1], [0, 2]], 3: [[5, 2], [5, 3], [5, 4], [6, 4], [6, 3], [6, 2], [7, 2], [7, 1]], 4: [[0, 3], [1, 3], [2, 3], [3, 3], [3, 4]], 5: [[1, 2], [2, 2], [3, 2], [4, 2], [4, 3], [4, 4]], 6: [[5, 0], [4, 0], [3, 0], [2, 0], [1, 0], [0, 0]], 7: [[4, 6], [5, 6], [6, 6], [7, 6], [7, 5], [7, 4], [7, 3]], 8: [[0, 4], [0, 5], [0, 6], [0, 7]], 9: [[3, 7], [4, 7], [5, 7], [6, 7], [7, 7]],
    },
  },
  '8 9': {
    cols: 8,
    rows: 9,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[6, 0], [5, 0], [4, 0], [4, 1], [4, 2], [4, 3], [4, 4], [4, 5], [4, 6], [3, 6], [3, 7], [2, 7], [1, 7]], 1: [[0, 4], [1, 4], [1, 3], [0, 3], [0, 2]], 2: [[7, 6], [6, 6], [5, 6], [5, 7], [4, 7]], 3: [[2, 5], [1, 5], [0, 5]], 4: [[6, 7], [7, 7], [8, 7], [8, 6], [8, 5], [8, 4], [8, 3], [8, 2], [8, 1], [8, 0]], 5: [[1, 0], [2, 0], [2, 1], [2, 2], [2, 3], [2, 4]], 6: [[7, 4], [7, 3], [7, 2]], 7: [[7, 0], [7, 1], [6, 1], [5, 1], [5, 2], [6, 2], [6, 3], [5, 3]], 8: [[0, 0], [0, 1], [1, 1], [1, 2]], 9: [[3, 0], [3, 1], [3, 2], [3, 3], [3, 4], [3, 5]], 13: [[5, 5], [5, 4], [6, 4], [6, 5], [7, 5]], 15: [[2, 6], [1, 6], [0, 6], [0, 7]],
    },
  },
  '8 10': {
    cols: 8,
    rows: 10,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[2, 4], [2, 5], [1, 5], [1, 4], [1, 3]], 1: [[0, 1], [0, 0], [1, 0], [1, 1], [2, 1], [3, 1], [4, 1], [4, 0], [3, 0], [2, 0]], 2: [[0, 5], [0, 4], [0, 3], [0, 2], [1, 2], [2, 2], [2, 3], [3, 3], [3, 4], [4, 4]], 4: [[9, 4], [9, 5], [9, 6], [8, 6], [8, 5], [8, 4], [8, 3], [8, 2], [8, 1], [7, 1], [7, 0], [6, 0], [5, 0]], 6: [[6, 7], [6, 6], [6, 5], [6, 4]], 7: [[1, 6], [2, 6], [3, 6], [4, 6], [5, 6]], 8: [[0, 6], [0, 7], [1, 7], [2, 7], [3, 7], [4, 7], [5, 7]], 10: [[5, 2], [5, 1], [6, 1], [6, 2], [6, 3]], 11: [[9, 3], [9, 2], [9, 1], [9, 0], [8, 0]], 12: [[3, 5], [4, 5], [5, 5], [5, 4], [5, 3], [4, 3], [4, 2], [3, 2]], 18: [[7, 2], [7, 3], [7, 4], [7, 5], [7, 6], [7, 7], [8, 7], [9, 7]],
    },
  },
  '9 5': {
    cols: 9,
    rows: 5,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 0, 0],
    ],
    connections: {
      0: [[0, 0], [1, 0], [2, 0], [2, 1], [2, 2], [2, 3], [2, 4], [2, 5]], 2: [[0, 8], [1, 8], [1, 7], [1, 6], [2, 6], [3, 6], [3, 5]], 3: [[0, 7], [0, 6], [0, 5], [0, 4], [0, 3], [0, 2], [0, 1]], 4: [[2, 7], [2, 8], [3, 8], [3, 7], [4, 7], [4, 8]], 5: [[1, 1], [1, 2], [1, 3], [1, 4], [1, 5]], 9: [[3, 4], [3, 3], [3, 2], [3, 1]], 10: [[4, 6], [4, 5], [4, 4], [4, 3], [4, 2], [4, 1], [4, 0], [3, 0]],
    },
  },
  '9 6': {
    cols: 9,
    rows: 6,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[1, 6], [0, 6], [0, 7], [1, 7], [2, 7], [3, 7], [3, 8], [4, 8], [5, 8]], 1: [[4, 7], [5, 7], [5, 6], [5, 5], [5, 4]], 2: [[2, 1], [1, 1], [0, 1], [0, 0]], 3: [[5, 0], [4, 0], [4, 1], [4, 2], [3, 2], [2, 2], [2, 3], [1, 3], [0, 3], [0, 2], [1, 2]], 4: [[2, 6], [3, 6], [3, 5], [3, 4], [3, 3]], 6: [[4, 3], [4, 4], [4, 5], [4, 6]], 7: [[2, 8], [1, 8], [0, 8]], 9: [[0, 5], [1, 5], [2, 5], [2, 4], [1, 4], [0, 4]], 12: [[5, 3], [5, 2], [5, 1]], 13: [[3, 1], [3, 0], [2, 0], [1, 0]],
    },
  },
  '9 7': {
    cols: 9,
    rows: 7,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[2, 5], [2, 4], [3, 4], [3, 5]], 1: [[1, 7], [2, 7], [3, 7], [4, 7], [4, 8], [3, 8]], 2: [[6, 1], [6, 2], [6, 3], [5, 3], [5, 2], [5, 1], [5, 0], [6, 0]], 4: [[2, 0], [1, 0], [1, 1], [2, 1], [3, 1], [3, 2], [4, 2], [4, 3], [4, 4], [4, 5], [5, 5]], 5: [[4, 1], [4, 0], [3, 0]], 6: [[0, 3], [0, 4], [1, 4], [1, 5], [1, 6], [2, 6], [3, 6], [4, 6], [5, 6]], 7: [[2, 8], [1, 8], [0, 8], [0, 7], [0, 6], [0, 5]], 8: [[0, 0], [0, 1], [0, 2]], 9: [[5, 4], [6, 4], [6, 5], [6, 6], [6, 7]], 10: [[5, 7], [5, 8], [6, 8]], 14: [[2, 2], [1, 2], [1, 3], [2, 3], [3, 3]],
    },
  },
  '9 8': {
    cols: 9,
    rows: 8,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[7, 8], [7, 7], [6, 7], [6, 6], [6, 5], [5, 5]], 1: [[5, 3], [4, 3], [3, 3], [3, 2], [2, 2], [1, 2]], 2: [[2, 0], [1, 0], [1, 1]], 3: [[0, 8], [1, 8], [1, 7], [1, 6], [2, 6]], 4: [[2, 8], [2, 7], [3, 7], [3, 8], [4, 8], [5, 8], [6, 8]], 5: [[4, 7], [5, 7], [5, 6]], 6: [[2, 3], [2, 4], [2, 5], [1, 5]], 7: [[3, 4], [3, 5], [3, 6], [4, 6], [4, 5], [4, 4], [5, 4], [6, 4], [6, 3], [6, 2], [5, 2], [5, 1], [5, 0]], 8: [[4, 2], [4, 1], [4, 0]], 9: [[6, 1], [6, 0], [7, 0], [7, 1], [7, 2], [7, 3]], 10: [[3, 0], [3, 1], [2, 1]], 11: [[7, 4], [7, 5], [7, 6]], 12: [[0, 7], [0, 6], [0, 5]], 13: [[0, 0], [0, 1], [0, 2], [0, 3], [1, 3], [1, 4], [0, 4]],
    },
  },
  '9 9': {
    cols: 9,
    rows: 9,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[3, 3], [4, 3], [5, 3], [5, 2], [6, 2], [7, 2], [8, 2], [8, 1], [8, 0]], 1: [[7, 4], [6, 4], [5, 4], [4, 4], [3, 4]], 2: [[7, 7], [6, 7], [5, 7]], 3: [[2, 2], [1, 2], [0, 2], [0, 3], [0, 4], [0, 5]], 4: [[1, 7], [1, 8], [2, 8], [3, 8], [4, 8], [5, 8], [6, 8], [7, 8], [8, 8], [8, 7]], 5: [[5, 0], [4, 0], [4, 1], [4, 2], [3, 2]], 6: [[4, 5], [5, 5], [6, 5], [7, 5], [7, 6], [8, 6]], 8: [[0, 0], [1, 0], [2, 0], [3, 0]], 9: [[1, 3], [1, 4], [1, 5], [1, 6]], 11: [[8, 5], [8, 4], [8, 3], [7, 3], [6, 3]], 12: [[0, 6], [0, 7], [0, 8]], 13: [[2, 3], [2, 4], [2, 5], [2, 6], [2, 7], [3, 7], [4, 7]], 15: [[3, 1], [2, 1], [1, 1], [0, 1]], 16: [[5, 1], [6, 1], [6, 0], [7, 0], [7, 1]], 17: [[6, 6], [5, 6], [4, 6], [3, 6], [3, 5]],
    },
  },
  '9 10': {
    cols: 9,
    rows: 10,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[4, 5], [4, 4], [4, 3], [4, 2], [3, 2], [3, 3]], 1: [[5, 8], [4, 8], [3, 8], [3, 7], [3, 6], [3, 5], [3, 4], [2, 4], [2, 3], [2, 2], [2, 1], [2, 0]], 2: [[0, 5], [0, 6], [0, 7], [0, 8]], 3: [[1, 3], [0, 3], [0, 4], [1, 4], [1, 5], [1, 6], [1, 7], [1, 8]], 4: [[4, 0], [5, 0], [6, 0], [6, 1], [7, 1], [8, 1], [8, 2], [9, 2]], 5: [[6, 6], [7, 6], [8, 6], [8, 7], [7, 7]], 6: [[8, 4], [7, 4], [6, 4], [5, 4], [5, 3], [5, 2], [5, 1], [4, 1], [3, 1], [3, 0]], 7: [[1, 2], [1, 1], [1, 0]], 8: [[6, 7], [5, 7], [4, 7], [4, 6]], 9: [[5, 6], [5, 5], [6, 5], [7, 5], [8, 5]], 11: [[9, 1], [9, 0], [8, 0], [7, 0]], 12: [[0, 2], [0, 1], [0, 0]], 14: [[2, 8], [2, 7], [2, 6], [2, 5]], 15: [[9, 3], [9, 4], [9, 5], [9, 6], [9, 7], [9, 8]], 18: [[6, 8], [7, 8], [8, 8]], 20: [[8, 3], [7, 3], [6, 3], [6, 2], [7, 2]],
    },
  },
  '10 5': {
    cols: 10,
    rows: 5,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[3, 0], [4, 0], [4, 1], [3, 1], [3, 2], [3, 3], [3, 4], [3, 5], [3, 6], [3, 7], [3, 8], [3, 9]], 1: [[0, 3], [0, 2], [0, 1], [1, 1], [1, 2]], 2: [[1, 9], [0, 9], [0, 8], [1, 8], [1, 7], [1, 6], [1, 5], [2, 5], [2, 4]], 3: [[0, 7], [0, 6], [0, 5], [0, 4], [1, 4], [1, 3], [2, 3], [2, 2], [2, 1], [2, 0], [1, 0], [0, 0]], 5: [[4, 9], [4, 8], [4, 7], [4, 6], [4, 5], [4, 4], [4, 3], [4, 2]], 7: [[2, 9], [2, 8], [2, 7], [2, 6]],
    },
  },
  '10 6': {
    cols: 10,
    rows: 6,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[4, 1], [5, 1], [5, 2], [5, 3]], 1: [[2, 2], [2, 3], [2, 4], [3, 4]], 2: [[4, 8], [3, 8], [3, 9], [2, 9], [1, 9]], 3: [[3, 3], [4, 3], [4, 2]], 4: [[0, 0], [0, 1], [1, 1], [1, 0], [2, 0]], 5: [[4, 4], [5, 4], [5, 5], [4, 5]], 6: [[0, 7], [1, 7], [2, 7], [3, 7]], 7: [[0, 5], [1, 5], [1, 6], [0, 6]], 8: [[3, 2], [3, 1], [2, 1]], 9: [[5, 6], [5, 7], [5, 8], [5, 9], [4, 9]], 10: [[3, 0], [4, 0], [5, 0]], 11: [[2, 8], [1, 8], [0, 8], [0, 9]], 12: [[2, 6], [2, 5], [3, 5], [3, 6], [4, 6], [4, 7]], 13: [[0, 2], [0, 3], [0, 4]], 14: [[1, 2], [1, 3], [1, 4]],
    },
  },
  '10 7': {
    cols: 10,
    rows: 7,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[1, 3], [1, 4], [1, 5], [2, 5], [2, 6], [2, 7], [2, 8], [3, 8], [4, 8], [4, 9], [5, 9], [5, 8]], 1: [[6, 3], [5, 3], [5, 4], [5, 5], [5, 6], [5, 7], [4, 7], [4, 6], [3, 6], [3, 7]], 3: [[6, 9], [6, 8], [6, 7], [6, 6], [6, 5], [6, 4]], 4: [[0, 6], [0, 5], [0, 4], [0, 3], [0, 2], [1, 2], [1, 1], [2, 1], [3, 1], [4, 1], [5, 1], [5, 2], [6, 2]], 6: [[1, 6], [1, 7], [1, 8], [1, 9], [2, 9], [3, 9]], 7: [[6, 1], [6, 0], [5, 0], [4, 0], [3, 0], [2, 0]], 9: [[0, 1], [0, 0], [1, 0]], 11: [[4, 4], [4, 5], [3, 5], [3, 4], [2, 4], [2, 3], [2, 2]], 14: [[3, 3], [4, 3], [4, 2], [3, 2]], 16: [[0, 7], [0, 8], [0, 9]],
    },
  },
  '10 8': {
    cols: 10,
    rows: 8,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[3, 3], [3, 4], [3, 5], [4, 5], [4, 6], [4, 7], [4, 8], [5, 8], [6, 8]], 1: [[7, 8], [7, 7], [6, 7], [6, 6], [6, 5], [6, 4], [6, 3], [5, 3], [4, 3], [4, 2], [3, 2], [2, 2], [2, 3]], 2: [[0, 5], [1, 5], [1, 4], [2, 4]], 3: [[4, 4], [5, 4], [5, 5], [5, 6], [5, 7]], 4: [[2, 1], [3, 1], [4, 1]], 5: [[3, 8], [2, 8], [2, 9], [3, 9], [4, 9], [5, 9], [6, 9], [7, 9]], 6: [[0, 9], [1, 9], [1, 8], [1, 7], [1, 6], [2, 6], [2, 5]], 7: [[6, 1], [5, 1], [5, 2], [6, 2], [7, 2], [7, 3], [7, 4], [7, 5], [7, 6]], 8: [[0, 6], [0, 7], [0, 8]], 9: [[0, 0], [0, 1], [1, 1], [1, 0], [2, 0], [3, 0], [4, 0], [5, 0], [6, 0], [7, 0], [7, 1]], 10: [[0, 2], [1, 2], [1, 3], [0, 3], [0, 4]], 11: [[2, 7], [3, 7], [3, 6]],
    },
  },
  '10 9': {
    cols: 10,
    rows: 9,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[5, 4], [4, 4], [3, 4], [2, 4], [1, 4], [1, 5]], 1: [[8, 0], [7, 0], [6, 0]], 2: [[2, 0], [3, 0], [3, 1], [3, 2], [4, 2], [4, 3], [5, 3], [6, 3], [7, 3], [7, 2]], 3: [[4, 9], [3, 9], [2, 9], [2, 8]], 4: [[6, 2], [6, 1], [7, 1], [8, 1], [8, 2], [8, 3], [8, 4], [7, 4], [7, 5], [7, 6], [7, 7], [7, 8], [6, 8]], 5: [[5, 6], [6, 6], [6, 7], [5, 7], [4, 7], [4, 6], [3, 6]], 6: [[3, 7], [3, 8], [4, 8], [5, 8], [5, 9], [6, 9], [7, 9], [8, 9], [8, 8]], 7: [[2, 5], [3, 5], [4, 5]], 8: [[1, 9], [1, 8], [0, 8], [0, 9]], 9: [[4, 1], [4, 0], [5, 0], [5, 1], [5, 2]], 10: [[8, 7], [8, 6], [8, 5]], 11: [[5, 5], [6, 5], [6, 4]], 12: [[2, 2], [2, 3], [3, 3]], 13: [[2, 1], [1, 1], [1, 2], [1, 3]], 14: [[0, 7], [1, 7], [2, 7], [2, 6], [1, 6], [0, 6], [0, 5], [0, 4], [0, 3], [0, 2], [0, 1], [0, 0], [1, 0]],
    },
  },
  '10 10': {
    cols: 10,
    rows: 10,
    maxWordLength: 10,
    minWordLength: 4,
    cells: [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
    ],
    connections: {
      0: [[0, 6], [1, 6], [1, 5], [2, 5], [3, 5], [4, 5], [5, 5], [6, 5], [7, 5], [7, 4], [8, 4], [9, 4]], 1: [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4], [0, 5]], 2: [[7, 9], [6, 9], [5, 9], [4, 9], [3, 9], [2, 9], [2, 8], [3, 8]], 3: [[3, 4], [4, 4], [4, 3], [4, 2], [4, 1], [5, 1]], 4: [[8, 1], [7, 1], [6, 1], [6, 0], [5, 0]], 5: [[8, 5], [8, 6], [8, 7], [7, 7]], 6: [[5, 2], [6, 2], [7, 2], [8, 2], [9, 2], [9, 1]], 7: [[2, 1], [3, 1], [3, 2], [3, 3]], 8: [[1, 3], [1, 4], [2, 4], [2, 3], [2, 2], [1, 2], [1, 1], [1, 0], [2, 0], [3, 0], [4, 0]], 9: [[4, 8], [5, 8], [6, 8], [7, 8], [8, 8], [9, 8], [9, 9], [8, 9]], 10: [[7, 6], [6, 6], [6, 7], [5, 7], [4, 7], [3, 7], [2, 7]], 11: [[5, 6], [4, 6], [3, 6], [2, 6]], 12: [[9, 3], [8, 3], [7, 3], [6, 3], [5, 3], [5, 4], [6, 4]], 15: [[9, 7], [9, 6], [9, 5]], 17: [[7, 0], [8, 0], [9, 0]], 18: [[1, 8], [1, 9], [0, 9], [0, 8], [0, 7], [1, 7]],
    },
  },
};

function Field(cols, rows) {
  const key = `${rows} ${cols}`;
  const data = pregeneratedFields[key];
  const props = JSON.parse(JSON.stringify(data));
  Object.assign(this, props);
}

Field.prototype.initializeFast = function () {};

export default Field;
