{
  "game": "flood",
  "displayName": "Flood",
  "rtpPercent": 99.0,
  "rtpE8": 99000000,
  "engine": "uint32",
  "biasClass": "uniform",
  "params": [
    {
      "name": "density",
      "desc": "rock density: normal/dense/packed = 6/9/11 rocks"
    },
    {
      "name": "start",
      "desc": "start cell 0..15 (row-major on the 4x4 basin), forced open"
    }
  ],
  "note": "rocks = the first B of others[perm[i]], where others = the 15 non-start cells and perm = shuffle(15) (so the rock subset is uniform over C(15,B) and the start is always open); water floods the connected open region containing the start over the 4x4 adjacency, and the flooded size indexes the baked (density, start-class) e8 ladder.",
  "gridSize": 16,
  "cols": 4,
  "maxSize": 12,
  "adj": [
    [
      1,
      4
    ],
    [
      0,
      2,
      5
    ],
    [
      1,
      3,
      6
    ],
    [
      2,
      7
    ],
    [
      0,
      5,
      8
    ],
    [
      1,
      4,
      6,
      9
    ],
    [
      2,
      5,
      7,
      10
    ],
    [
      3,
      6,
      11
    ],
    [
      4,
      9,
      12
    ],
    [
      5,
      8,
      10,
      13
    ],
    [
      6,
      9,
      11,
      14
    ],
    [
      7,
      10,
      15
    ],
    [
      8,
      13
    ],
    [
      9,
      12,
      14
    ],
    [
      10,
      13,
      15
    ],
    [
      11,
      14
    ]
  ],
  "cellClass": [
    "corner",
    "edge",
    "edge",
    "corner",
    "edge",
    "center",
    "center",
    "edge",
    "edge",
    "center",
    "center",
    "edge",
    "corner",
    "edge",
    "edge",
    "corner"
  ],
  "classes": {
    "corner": [
      0,
      3,
      12,
      15
    ],
    "edge": [
      1,
      2,
      4,
      7,
      8,
      11,
      13,
      14
    ],
    "center": [
      5,
      6,
      9,
      10
    ]
  },
  "density": {
    "normal": {
      "rocks": 6
    },
    "dense": {
      "rocks": 9
    },
    "packed": {
      "rocks": 11
    }
  },
  "basePayShape": "(12/5)^size",
  "sizeCounts": {
    "normal/corner": [
      715,
      330,
      264,
      226,
      274,
      320,
      380,
      539,
      844,
      1113,
      0,
      0
    ],
    "normal/edge": [
      220,
      219,
      253,
      242,
      267,
      328,
      411,
      603,
      1004,
      1458,
      0,
      0
    ],
    "normal/center": [
      55,
      20,
      100,
      150,
      197,
      296,
      457,
      747,
      1297,
      1686,
      0,
      0
    ],
    "dense/corner": [
      1716,
      924,
      714,
      572,
      481,
      377,
      221,
      0,
      0,
      0,
      0,
      0
    ],
    "dense/edge": [
      924,
      840,
      848,
      750,
      673,
      592,
      378,
      0,
      0,
      0,
      0,
      0
    ],
    "dense/center": [
      462,
      364,
      707,
      884,
      998,
      971,
      619,
      0,
      0,
      0,
      0,
      0
    ],
    "packed/corner": [
      715,
      330,
      189,
      96,
      35,
      0,
      0,
      0,
      0,
      0,
      0,
      0
    ],
    "packed/edge": [
      495,
      369,
      273,
      160,
      68,
      0,
      0,
      0,
      0,
      0,
      0,
      0
    ],
    "packed/center": [
      330,
      280,
      345,
      276,
      134,
      0,
      0,
      0,
      0,
      0,
      0,
      0
    ]
  },
  "tables": {
    "normal/corner": [
      117140,
      281137,
      674729,
      1619350,
      3886440,
      9327457,
      22385899,
      53726157,
      128942778,
      309462668,
      0,
      0
    ],
    "normal/edge": [
      92571,
      222172,
      533214,
      1279713,
      3071312,
      7371150,
      17690762,
      42457829,
      101898790,
      244557096,
      0,
      0
    ],
    "normal/center": [
      78097,
      187434,
      449841,
      1079620,
      2591089,
      6218613,
      14924672,
      35819215,
      85966116,
      206318678,
      0,
      0
    ],
    "dense/corner": [
      4756835,
      11416404,
      27399371,
      65758490,
      157820376,
      378768904,
      909045371,
      0,
      0,
      0,
      0,
      0
    ],
    "dense/edge": [
      3098845,
      7437228,
      17849348,
      42838435,
      102812244,
      246749387,
      592198528,
      0,
      0,
      0,
      0,
      0
    ],
    "dense/center": [
      2011350,
      4827241,
      11585379,
      27804909,
      66731783,
      160156279,
      384375071,
      0,
      0,
      0,
      0,
      0
    ],
    "packed/corner": [
      26580657,
      63793578,
      153104587,
      367451010,
      881882425,
      0,
      0,
      0,
      0,
      0,
      0,
      0
    ],
    "packed/edge": [
      18209817,
      43703562,
      104888550,
      251732521,
      604158052,
      0,
      0,
      0,
      0,
      0,
      0,
      0
    ],
    "packed/center": [
      12011549,
      28827717,
      69186522,
      166047653,
      398514368,
      0,
      0,
      0,
      0,
      0,
      0,
      0
    ]
  }
}
