{
  "name": "Oracle 64 Endgame Dictionary",
  "credits": "Nathan A. Meeks & Grok",
  "generated": "2026-09-12",
  "metric": "DTM (winning-side moves, no 50-move rule)",
  "lineage": "Narrow-board reduction 5×8 → 6×8 → 8×8",
  "classes": [
    {
      "id": "KQK_5x8",
      "material": "KQK",
      "board": "5x8",
      "bishopParity": null,
      "maxDtm": 8,
      "terminals": {
        "mates": 262,
        "stalemates": 544
      },
      "counts": {
        "wtm": {
          "legal": 28590,
          "win": 28590,
          "draw": 0,
          "loss": 0
        },
        "btm": {
          "legal": 49932,
          "win": 0,
          "draw": 7780,
          "loss": 42152
        }
      },
      "notes": "Queen vs lone king is a general win. Maximum DTM on this board is 8.",
      "file": "/data/tb3_5x8_q.json"
    },
    {
      "id": "KRK_5x8",
      "material": "KRK",
      "board": "5x8",
      "bishopParity": null,
      "maxDtm": 13,
      "terminals": {
        "mates": 144,
        "stalemates": 56
      },
      "counts": {
        "wtm": {
          "legal": 36198,
          "win": 36198,
          "draw": 0,
          "loss": 0
        },
        "btm": {
          "legal": 49932,
          "win": 0,
          "draw": 7292,
          "loss": 42640
        }
      },
      "notes": "Rook vs lone king is a general win. Maximum DTM on this board is 13.",
      "file": "/data/tb3_5x8_r.json"
    },
    {
      "id": "KBK_5x8",
      "material": "KBK",
      "board": "5x8",
      "bishopParity": null,
      "maxDtm": 0,
      "terminals": {
        "mates": 0,
        "stalemates": 90
      },
      "counts": {
        "wtm": {
          "legal": 42324,
          "win": 0,
          "draw": 42324,
          "loss": 0
        },
        "btm": {
          "legal": 49932,
          "win": 0,
          "draw": 49932,
          "loss": 0
        }
      },
      "notes": "A single bishop cannot checkmate a lone king (wrong-color squares remain). All legal positions are draws aside from terminals that never arise by force.",
      "file": "/data/tb3_5x8_b.json"
    },
    {
      "id": "KNK_5x8",
      "material": "KNK",
      "board": "5x8",
      "bishopParity": null,
      "maxDtm": 0,
      "terminals": {
        "mates": 0,
        "stalemates": 40
      },
      "counts": {
        "wtm": {
          "legal": 44300,
          "win": 0,
          "draw": 44300,
          "loss": 0
        },
        "btm": {
          "legal": 49932,
          "win": 0,
          "draw": 49932,
          "loss": 0
        }
      },
      "notes": "A single knight cannot checkmate a lone king. All legal positions are draws.",
      "file": "/data/tb3_5x8_n.json"
    },
    {
      "id": "KBBK_opp_5x8",
      "material": "KBBK",
      "board": "5x8",
      "bishopParity": "opposite",
      "maxDtm": 16,
      "terminals": {
        "mates": 652,
        "stalemates": 1988
      },
      "counts": {
        "wtm": {
          "legal": 325514,
          "win": 325182,
          "draw": 332,
          "loss": 0
        },
        "btm": {
          "legal": 473706,
          "win": 0,
          "draw": 128162,
          "loss": 345544
        }
      },
      "notes": "Opposite-colored bishops with king vs lone king is a general win. Same-color bishops cannot force mate. Black never wins. Capturing a bishop collapses to KBK, a dead draw.",
      "file": "/data/tb4_kbbk_5x8.json"
    },
    {
      "id": "KBBK_same_5x8",
      "material": "KBBK",
      "board": "5x8",
      "bishopParity": "same",
      "maxDtm": 0,
      "terminals": {
        "mates": 0,
        "stalemates": 1956
      },
      "counts": {
        "wtm": {
          "legal": 336474,
          "win": 0,
          "draw": 336474,
          "loss": 0
        },
        "btm": {
          "legal": 450036,
          "win": 0,
          "draw": 450036,
          "loss": 0
        }
      },
      "notes": "Same-color bishops cannot force mate — they never control the opposite color. Remaining positions are draws (plus a handful of accidental mate terminals that cannot be forced).",
      "file": "/data/tb4_kbbk_same_5x8.json"
    },
    {
      "id": "KQK_6x8",
      "material": "KQK",
      "board": "6x8",
      "bishopParity": null,
      "maxDtm": 8,
      "terminals": {
        "mates": 292,
        "stalemates": 656
      },
      "counts": {
        "wtm": {
          "legal": 54000,
          "win": 54000,
          "draw": 0,
          "loss": 0
        },
        "btm": {
          "legal": 89792,
          "win": 0,
          "draw": 11944,
          "loss": 77848
        }
      },
      "notes": "Queen vs lone king is a general win. Maximum DTM on this board is 8.",
      "file": "/data/tb3_6x8_q.json"
    },
    {
      "id": "KRK_6x8",
      "material": "KRK",
      "board": "6x8",
      "bishopParity": null,
      "maxDtm": 14,
      "terminals": {
        "mates": 164,
        "stalemates": 60
      },
      "counts": {
        "wtm": {
          "legal": 67360,
          "win": 67360,
          "draw": 0,
          "loss": 0
        },
        "btm": {
          "legal": 89792,
          "win": 0,
          "draw": 11348,
          "loss": 78444
        }
      },
      "notes": "Rook vs lone king is a general win. Maximum DTM on this board is 14.",
      "file": "/data/tb3_6x8_r.json"
    },
    {
      "id": "KBK_6x8",
      "material": "KBK",
      "board": "6x8",
      "bishopParity": null,
      "maxDtm": 0,
      "terminals": {
        "mates": 0,
        "stalemates": 108
      },
      "counts": {
        "wtm": {
          "legal": 76432,
          "win": 0,
          "draw": 76432,
          "loss": 0
        },
        "btm": {
          "legal": 89792,
          "win": 0,
          "draw": 89792,
          "loss": 0
        }
      },
      "notes": "A single bishop cannot checkmate a lone king (wrong-color squares remain). All legal positions are draws aside from terminals that never arise by force.",
      "file": "/data/tb3_6x8_b.json"
    },
    {
      "id": "KNK_6x8",
      "material": "KNK",
      "board": "6x8",
      "bishopParity": null,
      "maxDtm": 0,
      "terminals": {
        "mates": 0,
        "stalemates": 40
      },
      "counts": {
        "wtm": {
          "legal": 80720,
          "win": 0,
          "draw": 80720,
          "loss": 0
        },
        "btm": {
          "legal": 89792,
          "win": 0,
          "draw": 89792,
          "loss": 0
        }
      },
      "notes": "A single knight cannot checkmate a lone king. All legal positions are draws.",
      "file": "/data/tb3_6x8_n.json"
    },
    {
      "id": "KBBK_opp_6x8",
      "material": "KBBK",
      "board": "6x8",
      "bishopParity": "opposite",
      "maxDtm": 17,
      "terminals": {
        "mates": 928,
        "stalemates": 3008
      },
      "counts": {
        "wtm": {
          "legal": 717964,
          "win": 717568,
          "draw": 396,
          "loss": 0
        },
        "btm": {
          "legal": 1031644,
          "win": 0,
          "draw": 244344,
          "loss": 787300
        }
      },
      "notes": "Opposite-colored bishops with king vs lone king is a general win. Same-color bishops cannot force mate. Black never wins. Capturing a bishop collapses to KBK, a dead draw.",
      "file": "/data/tb4_kbbk_6x8.json"
    },
    {
      "id": "KBBK_same_6x8",
      "material": "KBBK",
      "board": "6x8",
      "bishopParity": "same",
      "maxDtm": 0,
      "terminals": {
        "mates": 0,
        "stalemates": 2848
      },
      "counts": {
        "wtm": {
          "legal": 743048,
          "win": 0,
          "draw": 743048,
          "loss": 0
        },
        "btm": {
          "legal": 988676,
          "win": 0,
          "draw": 988676,
          "loss": 0
        }
      },
      "notes": "Same-color bishops cannot force mate — they never control the opposite color. Remaining positions are draws (plus a handful of accidental mate terminals that cannot be forced).",
      "file": "/data/tb4_kbbk_same_6x8.json"
    },
    {
      "id": "KQK_8x8",
      "material": "KQK",
      "board": "8x8",
      "bishopParity": null,
      "maxDtm": 10,
      "terminals": {
        "mates": 364,
        "stalemates": 872
      },
      "counts": {
        "wtm": {
          "legal": 144508,
          "win": 144508,
          "draw": 0,
          "loss": 0
        },
        "btm": {
          "legal": 223944,
          "win": 0,
          "draw": 23048,
          "loss": 200896
        }
      },
      "notes": "Queen vs lone king is a general win. Maximum DTM on this board is 10.",
      "file": "/data/tb3_8x8_q.json"
    },
    {
      "id": "KRK_8x8",
      "material": "KRK",
      "board": "8x8",
      "bishopParity": null,
      "maxDtm": 16,
      "terminals": {
        "mates": 216,
        "stalemates": 68
      },
      "counts": {
        "wtm": {
          "legal": 175168,
          "win": 175168,
          "draw": 0,
          "loss": 0
        },
        "btm": {
          "legal": 223944,
          "win": 0,
          "draw": 22244,
          "loss": 201700
        }
      },
      "notes": "Rook vs lone king is a general win. Maximum DTM on this board is 16.",
      "file": "/data/tb3_8x8_r.json"
    },
    {
      "id": "KBK_8x8",
      "material": "KBK",
      "board": "8x8",
      "bishopParity": null,
      "maxDtm": 0,
      "terminals": {
        "mates": 0,
        "stalemates": 136
      },
      "counts": {
        "wtm": {
          "legal": 193284,
          "win": 0,
          "draw": 193284,
          "loss": 0
        },
        "btm": {
          "legal": 223944,
          "win": 0,
          "draw": 223944,
          "loss": 0
        }
      },
      "notes": "A single bishop cannot checkmate a lone king (wrong-color squares remain). All legal positions are draws aside from terminals that never arise by force.",
      "file": "/data/tb3_8x8_b.json"
    },
    {
      "id": "KNK_8x8",
      "material": "KNK",
      "board": "8x8",
      "bishopParity": null,
      "maxDtm": 0,
      "terminals": {
        "mates": 0,
        "stalemates": 40
      },
      "counts": {
        "wtm": {
          "legal": 205496,
          "win": 0,
          "draw": 205496,
          "loss": 0
        },
        "btm": {
          "legal": 223944,
          "win": 0,
          "draw": 223944,
          "loss": 0
        }
      },
      "notes": "A single knight cannot checkmate a lone king. All legal positions are draws.",
      "file": "/data/tb3_8x8_n.json"
    },
    {
      "id": "KBBK_opp_8x8",
      "material": "KBBK",
      "board": "8x8",
      "bishopParity": "opposite",
      "maxDtm": 19,
      "terminals": {
        "mates": 1552,
        "stalemates": 5320
      },
      "counts": {
        "wtm": {
          "legal": 2504128,
          "win": 2503608,
          "draw": 520,
          "loss": 0
        },
        "btm": {
          "legal": 3469344,
          "win": 0,
          "draw": 655304,
          "loss": 2814040
        }
      },
      "notes": "Opposite-colored bishops with king vs lone king is a general win. Same-color bishops cannot force mate. Black never wins. Capturing a bishop collapses to KBK, a dead draw.",
      "file": "/data/tb4_kbbk_8x8.json"
    },
    {
      "id": "KBBK_same_8x8",
      "material": "KBBK",
      "board": "8x8",
      "bishopParity": "same",
      "maxDtm": 0,
      "terminals": {
        "mates": 0,
        "stalemates": 4884
      },
      "counts": {
        "wtm": {
          "legal": 2577900,
          "win": 0,
          "draw": 2577900,
          "loss": 0
        },
        "btm": {
          "legal": 3360948,
          "win": 0,
          "draw": 3360948,
          "loss": 0
        }
      },
      "notes": "Same-color bishops cannot force mate — they never control the opposite color. Remaining positions are draws (plus a handful of accidental mate terminals that cannot be forced).",
      "file": "/data/tb4_kbbk_same_8x8.json"
    }
  ]
}