const FIRST_ROW = 0;
const FIRST_COL = 0;

const CHAR_CODE_OFFSET = 65;
const LABEL_OFFSET = 1;

const createTile = function createTile(row = FIRST_ROW, col = FIRST_COL) {
  const tile = { row, col };

  const methods = {
    get label() {
      const rowLabel = String.fromCharCode(CHAR_CODE_OFFSET + row);
      const colLabel = col + LABEL_OFFSET;

      return colLabel + rowLabel;
    }
  };

  return Object.assign(tile, methods);
};

export default createTile;

@@ -90,16 +90,73 @@
 T = 1;%0A%0A
+// Tile factory%0A//%0A// Takes 0-indexed row and col values%0A
 const cr
@@ -271,16 +271,71 @@
 hods = %7B
+%0A%0A    // Calculate a human-readable label for this tile
 %0A    get

Add some documentation