{%hackmd @themes/orangeheart %} # Shared-Game General specifications of the Game ## Config ### Round Type | Code | Description | | ---- | ------------- | | 1 | Normal | | 2 | Buy Free Spin | ### Transaction Type | Code | Description | | ---- | --------------- | | 1 | Base | | 10 | FreeSpin | | 20 | Bonus | | 30 | Base Respin | | 31 | FreeSpin Respin | ### Pay Type | Code | Description | | ---- | ------------ | | 1 | Line | | 2 | Bonus | | 3 | Scatter | | 4 | Way | | 6 | Full Picture | ### Pay Direction | Code | Description | | ---- | ----------- | | 1 | LTR | | 2 | RTL | | 3 | LTR, RTL | ## Base Case Format 回傳主要分成 4 種 Case * Base to Base * Base to Free * Free to Free * Free to Base 基本的規格如下 ```json { "current": { "Type": 1, "TotalWin": 0, "AccWin": 0, "Freespin": {}, "Multiplier": 2, "Result": {}, "Round": {} }, "next": { "Type": 10, "Freespin": {} }, "summary": { "bet": 0.01, "win": 0 } } ``` ### current * current.Type : 當筆 Transaction Type * current.TotalWin : 當筆贏分 * current.AccWin : 累計至當前的贏分 * current.Freespin? : [**Ref**](#structure-freespin) * current.Multiplier : bet 倍率 * current.Result : [**Ref**](#structure-result) * current.Round : [**Ref**](#structure-round) > ⚠️ current.TotalWin 與 current.AccWin 之間的關係 * 非 comboo : current.AccWin = current.TotalWin * 是 comboo : current.AccWin = sum(current.TotalWin) **Case : 2 次 comboo 結束** | Win(comboo) | 0.2 | 0.1 | 0.0 | | ----------- | --- | --- | --- | | TotalWin | 0.2 | 0.1 | 0.0 | | AccWin | 0.2 | 0.3 | 0.3 | > ⚠️ current.Multiplier 機制 Case: 遊戲 BaseSpin 為 1,進入 FreeSpin 為 2 ### next * next.Type : 下一筆 Transaction Type * next.Freespin? : [**Ref**](#structure-freespin) ### summary * summary.bet : - 如果是 (Base to Base / Base to Free) 則為 該 Round 押注 - 如果是 (Free to Base / Free to Free) 則為 0 * summary.win : 等於 current.TotalWin <a id="structure-freespin"></a> ## Structure - Freespin ### current.Freespin ```json { "Current": 1, "Total": 6 } ``` - Current : 當筆 Freespin 的 index (從 1 開始) - Total : 該 Round 總 Freespin 數 (retrigger 會導致增加) ### next.Freespin ```json { "Next": 2, "Total": 6 } ``` * Next : 下一筆 Freespin 的 index (從 1 開始) * Total : 該 Round 總 Freespin 數 (retrigger 會導致增加) <br> > ⚠️ 當發生 retrigger 時 +3 次 Freespin 時 current.Freespin ```json { "Current": 1, "Total": 6 } ``` next.Freespin ```json { "Next": 2, "Total": 9 } ``` <a id="structure-result"></a> ## Structure - Result ```json { "R": "203,203,103|202,103,103|101,103,104|1,104,203|104,104,203", "WR": [], "Extra": {} } ``` * result.R : 盤面 Column1|Column2|Column3… * result.WR? : **winning result** array * result.Extra? : **特殊機制** ### Winning Result * Line - [Shared-Game-Result-Line](/3oZVJWwbQxGDFqMJIUKGlw) * Scatter - [Shared-Game-Result-Scatter](https://coda.io/d/Info-exchange_dAMhytwSvqF/Pay-Type-3-Scatter_suILK22N#_luDPVZyg) * Way - [Shared-Game-Result-Full Way](https://coda.io/d/Info-exchange_dAMhytwSvqF/Pay-Type-4-Way_suAXAUkm#_luAumr_v) * CountAllWay - [Shared-Game-Result-Count AllWay](/oUDRAyaET_iqprGwsewnlg) * Full Picture - [Shared-Game-Result-Full Picture](/wo75uFpnS0awE3sCBO3UOQ) * Count - [Shared-Game-Result-Count](/Knh3nXaMTt6LRphCIgaKOw) * Bonus - [Shared-Game-Result-bonus](https://coda.io/d/Info-exchange_dAMhytwSvqF/Pay-Type-2-Bonus_su6PAqo0#_luy0Kipy) <a id="structure-round"></a> ## Structure - Round ```json { "RoundType": 1, "Bet": 0.01, "ActualBet": 0.01, "BetValue": 1, "Line": 20, "LineBet": 0.0005, "Payout": 0, "Items": [ "1|0|1" ] } ``` * Round.RoundType : Round Type * Round.Bet : BetValue * Line * LinetBet * Round.ActualBet : ActualBet = Bet * x (BuyFreeSpin 倍率) * Round.BetValue : 1 (定值) * Round.Line : 線數 * Round.LineBet : 線倍 * Round.Payout : * Round.Items : * TransactionType|TotalPayout|NumberOfTransaction > ⚠️ Round.ActualBet 機制 以 moonlight wish 為例,當 Round 是 **BuyFeature(BuyFreeSpin) 100倍**買的,所以 ActualBet = Bet * 100 > ⚠️ Round.Payout 與 Round.Items 機制 Round.Payout = sum(Round.Items.TotalPayout)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up