# 百家樂路圖格式

## Explaination of each keys

* rt0：珠子路
* rt1：大路
* rt2：大眼路
* rt3：小路
* rt4：蟑螂路(曱甴路)
* fcb：預測莊家
* fcp：預測閒家
* grt：大路標籤

## Data format of each keys

每個檢查器（checker）代表網格（grid）內的一個儲存格（cell），由其 Row（行）與 Col（欄）以 0 索引表示，這意味著第一個儲存格為 Row: 0, Col: 0。

* rt0、rt1 使用檢查器作為範例，例如 0,1,1,256,1，字串資料包含 5 個部分
  * 0 => Row (int, required)
  * 1 => Col (int, required)
  * 1 => 贏家 (int, required)
    * 1 = 莊家 (紅色)
    * 2 = 閒家（藍色）
    * 3 = 和局（綠色）
  * 256 => 以下位元組合資料：

    * CntSkws => 直殺勝利的狀態（用於 rt0、rt1，0: 無，1: 直殺）

    * CntFties => 首次和局的狀態。（僅用於 rt1，0: 無，>0: 首次和局數量，最大值: 15）

    * CntTies => 和局的狀態。（僅用於 rt1，0: 無，>0: 和局數量，最大值: 15）

    * CntBps => 莊家對子的狀態（0: 無，>0: 對子數量，最大值: 15）

    * CntPps => 閒家對子的狀態（0: 無，>0: 對子數量，最大值: 15）

    > c# example for extract values of int32((CntStk&0xf)<<16 | (CntFties&0xf)<<12 | (CntTies&0xf)<<8 | (CntBps&0xf)<<4 | (CntPps & 0xf))

    ```
        int CntPps = 256 & 0xf
        int CntBps = (256 >> 4) & 0xf
        int CntTies = (256 >> 8) & 0xf
        int CntFties = (256 >> 12) & 0xf
        int CntSkws = (256 >> 16) & 0xf
    ```
  * 1 => LuckySix 或其他特殊指示器（整數，可選，用於 rt0、rt1）
    * 0 = No Value
    * 1 = LuckySix (grade 1, odds 20)
    * 2 = LuckySix (grade 2, odds 12)
    * 3 = LuckySeven (grade 1, odds 15)
    * 4 = LuckySeven (grade 2, odds 6)
    * 5 = SuperLuckySeven (grade 1, odds 100)
    * 6 = SuperLuckySeven (grade 2, odds 40)
    * 7 = SuperLuckySeven (grade 3, odds 30)
* rt2、rt3、rt4 具有相同的資料結果格式，字串資料包含 4 個部分，例如 `0,3,2,256`
  * 0 => Row (int, required)
  * 3 => Col (int, required)
  * 2 => 贏家 (int, required)
  * 256 => 位元組合資料（與 rt0、rt1 相同格式）
* fcb、fcp 具有相同的資料格式，每個陣列依序包含 5 個項目：\[rt0, rt1, rt2, rt3, rt4]，如果檢查為空字串，表示無該資料

## 百家樂大路圖模式

* LONGB\_5 => 長莊 代表5局
* LONGP\_6 => 長閒 代表6局
* SINGLEJ => 大路單跳
* OHTRB => 一廳兩房(莊)
* OHTRP => 一廳兩房(閒)
* LONGTSJ => 長路轉單跳
* SINGLEJB => 逢庄跳
* SINGLEJP => 逢閒跳
* COMBOJB => 逢庄連
* COMBOJP => 逢閒連
* DOUBLEUP => 排排連

Roadmap Statistics Json Example Data

```json



{
    "rt0":"0,0,2,0,0;1,0,2,0,0;2,0,2,0,0;3,0,2,0,0;4,0,2,0,0;5,0,2,0,0;0,1,2,0,0;1,1,2,0,0;2,1,2,0,0;3,1,2,0,0;4,1,2,0,0;5,1,2,0,0;0,2,2,0,0;1,2,2,0,0;2,2,2,0,0;3,2,2,0,0;4,2,2,0,0;5,2,2,0,0;0,3,1,0,0;1,3,1,0,0;2,3,1,0,0;3,3,1,0,0;4,3,1,0,0;5,3,1,0,0;0,4,1,0,0;1,4,1,0,0;2,4,1,0,0;3,4,1,0,0;4,4,1,0,0;5,4,1,0,0;0,5,1,0,0;1,5,1,0,0;2,5,1,0,0;3,5,1,0,0;4,5,2,0,0;5,5,2,0,0;0,6,2,0,0;1,6,2,0,0;2,6,2,0,0;3,6,2,0,0;4,6,2,0,0;5,6,2,0,0;0,7,2,0,0;1,7,2,0,0;2,7,2,0,0;3,7,2,0,0;4,7,2,0,0;5,7,2,0,0;0,8,1,0,0;1,8,1,0,0;2,8,1,0,0;3,8,1,0,0;4,8,1,0,0;5,8,1,0,0;0,9,1,0,0;1,9,1,0,0;2,9,1,0,0;3,9,1,0,0;4,9,1,0,0;5,9,1,0,0;0,10,2,0,0;1,10,2,0,0;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1,0;2,4,1,0;3,4,1,0;3,5,1,0;3,6,1,0;3,7,1,0;3,8,1,0;3,9,1,0;0,5,2,0;0,6,1,0;1,6,1,0;2,6,1,0;2,7,1,0;2,8,1,0;2,9,1,0;2,10,1,0;2,11,1,0;2,12,1,0;2,13,1,0;2,14,1,0;0,7,2,0;1,7,2,0;0,8,1,0;1,8,1,0;1,9,1,0;1,10,1,0;1,11,1,0;1,12,1,0;1,13,1,0;1,14,1,0",
    "rt4":"0,0,1,0;1,0,1,0;2,0,1,0;3,0,1,0;4,0,1,0;5,0,1,0;5,1,1,0;5,2,1,0;5,3,1,0;5,4,1,0;5,5,1,0;0,1,2,0;0,2,1,0;1,2,1,0;2,2,1,0;3,2,1,0;4,2,1,0;4,3,1,0;4,4,1,0;4,5,1,0;4,6,1,0;0,3,2,0;0,4,1,0;1,4,1,0;2,4,1,0;3,4,1,0;3,5,1,0;3,6,1,0;3,7,1,0;3,8,1,0;3,9,1,0;3,10,1,0;3,11,1,0;3,12,1,0;0,5,2,0;0,6,1,0;1,6,1,0;2,6,1,0;2,7,1,0;2,8,1,0;2,9,1,0;2,10,1,0;2,11,1,0"
}

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pkg333.app/enum/enum-roadmap-ba.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
