{
 "原理:遊戲出 bug 的時候,你需要一台時光機#2": {
  "type": "cards",
  "reveal": [
   0,
   1,
   3,
   3,
   3
  ],
  "cards": [
   {
    "title": "單元測試",
    "value": "第一層",
    "points": [
     "最多、最便宜",
     "一個一個規則去問"
    ]
   },
   {
    "title": "整合與重播",
    "value": "第二層",
    "points": [
     "適量",
     "固定種子與輸入"
    ]
   },
   {
    "title": "真機測試",
    "value": "第三層",
    "points": [
     "最少、最貴",
     "拿真手機真的玩"
    ]
   }
  ]
 },
 "原理:遊戲出 bug 的時候,你需要一台時光機#4": {
  "type": "cards",
  "reveal": [
   0,
   1,
   2,
   3
  ],
  "cards": [
   {
    "title": "單元測試",
    "points": [
     "管規則對不對",
     "好壞球、出局、跑壘、得分"
    ]
   },
   {
    "title": "種子重播",
    "points": [
     "管結果穩不穩",
     "同種子加同輸入,同樣比賽"
    ]
   },
   {
    "title": "自動模擬",
    "points": [
     "管平衡好不好",
     "打六十場看分佈"
    ]
   }
  ]
 },
 "原理:遊戲出 bug 的時候,你需要一台時光機#5": {
  "type": "cards",
  "reveal": [
   3,
   4,
   4
  ],
  "cards": [
   {
    "title": "單元測試",
    "points": [
     "規則對不對"
    ]
   },
   {
    "title": "種子重播",
    "points": [
     "結果穩不穩"
    ]
   },
   {
    "title": "自動模擬",
    "points": [
     "平衡好不好"
    ]
   },
   {
    "title": "真機測試",
    "points": [
     "人玩起來爽不爽",
     "手指、螢幕、電量、來電中斷"
    ]
   }
  ]
 },
 "原理:遊戲出 bug 的時候,你需要一台時光機#6": {
  "type": "flow",
  "layout": "row",
  "reveal": [
   0,
   0,
   1,
   2,
   4,
   4
  ],
  "nodes": [
   {
    "label": "同一個亂數器",
    "sub": "有種子",
    "color": 0
   },
   {
    "label": "輸入記幀",
    "sub": "第幾幀、做什麼",
    "color": 1
   },
   {
    "label": "固定時間步進",
    "sub": "不看真實時鐘",
    "color": 2
   },
   {
    "label": "錄影帶",
    "sub": "種子加輸入",
    "color": 3,
    "kind": "end"
   }
  ]
 },
 "觀念教學:規則引擎的單元測試,三分鐘揪出誰在亂算分#3": {
  "type": "flow",
  "layout": "snake",
  "reveal": [
   0,
   0,
   0,
   0,
   0,
   1,
   6
  ],
  "nodes": [
   {
    "label": "抽亂數",
    "sub": "nextInt",
    "color": 0
   },
   {
    "label": "保送",
    "color": 1
   },
   {
    "label": "單安",
    "color": 2
   },
   {
    "label": "二壘安打",
    "color": 3
   },
   {
    "label": "全壘打",
    "color": 4
   },
   {
    "label": "出局",
    "sub": "其餘機率",
    "color": 5,
    "kind": "end"
   }
  ]
 },
 "觀念教學:固定步進與種子重播,讓比賽可以倒帶#2": {
  "type": "flow",
  "layout": "snake",
  "avatar": "hide",
  "reveal": [
   0,
   1,
   2,
   5,
   5,
   5,
   5
  ],
  "nodes": [
   {
    "label": "update dt",
    "sub": "每個畫面幀",
    "color": 0
   },
   {
    "label": "累加 dt",
    "sub": "上限 0.25 秒",
    "color": 1
   },
   {
    "label": "滿一格?",
    "sub": "1/60 秒",
    "color": 2,
    "kind": "decision"
   },
   {
    "label": "logicStep",
    "sub": "邏輯前進一格",
    "color": 3
   },
   {
    "label": "frame 加一",
    "sub": "累加器扣一格",
    "color": 4,
    "kind": "end"
   }
  ]
 },
 "觀念教學:固定步進與種子重播,讓比賽可以倒帶#5": {
  "type": "flow",
  "layout": "snake",
  "reveal": [
   0,
   1,
   3,
   4,
   5,
   5,
   5
  ],
  "nodes": [
   {
    "label": "玩家點擊",
    "color": 0
   },
   {
    "label": "丟進佇列",
    "color": 1
   },
   {
    "label": "下個邏輯幀取出",
    "color": 2
   },
   {
    "label": "記幀與動作",
    "sub": "InputLog",
    "color": 3
   },
   {
    "label": "錄影帶",
    "sub": "種子加輸入",
    "color": 4,
    "kind": "end"
   }
  ]
 },
 "觀念教學:固定步進與種子重播,讓比賽可以倒帶#7": {
  "type": "table",
  "avatar": "hide",
  "title": "揮棒判定(示範)",
  "reveal": [
   0,
   0,
   0,
   0,
   0,
   0,
   2,
   4,
   5
  ],
  "head": [
   "情境",
   "誤差",
   "結果"
  ],
  "widths": [
   3,
   2,
   2
  ],
  "rows": [
   [
    "第 29 幀",
    "-14.7 毫秒",
    "命中"
   ],
   [
    "第 31 幀",
    "-48.1 毫秒",
    "命中"
   ],
   [
    "第 20 幀",
    "+135.3 毫秒",
    "揮太早"
   ],
   [
    "第 33 幀 普通 70",
    "-81.4 毫秒",
    "沒打中"
   ],
   [
    "第 33 幀 簡單 91",
    "-81.4 毫秒",
    "命中"
   ]
  ]
 },
 "觀念教學:自動模擬 60 場,用數字驗證平衡#5": {
  "type": "bar",
  "title": "安打機率總和(示範)",
  "reveal": [
   0,
   0,
   0,
   2
  ],
  "labels": [
   "普通玩家",
   "電腦隊"
  ],
  "values": [
   240,
   220
  ],
  "unit": "",
  "highlight": 0
 },
 "觀念教學:自動模擬 60 場,用數字驗證平衡#6": {
  "type": "table",
  "title": "打席機率(千分之一,示範)",
  "reveal": [
   0,
   0,
   1,
   2,
   3,
   4
  ],
  "head": [
   "難度",
   "保送",
   "單安",
   "二壘",
   "全壘打"
  ],
  "widths": [
   2,
   1,
   1,
   1,
   1
  ],
  "rows": [
   [
    "簡單",
    "80",
    "172",
    "57",
    "46"
   ],
   [
    "普通",
    "80",
    "150",
    "50",
    "40"
   ],
   [
    "困難",
    "80",
    "132",
    "44",
    "35"
   ],
   [
    "電腦隊",
    "80",
    "140",
    "45",
    "35"
   ]
  ]
 },
 "觀念教學:自動模擬 60 場,用數字驗證平衡#7": {
  "type": "bar",
  "avatar": "hide",
  "title": "玩家勝率:60 場與 6000 場",
  "reveal": [
   0,
   0,
   0,
   3,
   3,
   6,
   6
  ],
  "labels": [
   "簡單60場",
   "普通60場",
   "困難60場",
   "簡單6000場",
   "普通6000場",
   "困難6000場"
  ],
  "values": [
   68.3,
   55,
   51.7,
   60.7,
   53.6,
   47.1
  ],
  "unit": "%",
  "colors": [
   1,
   1,
   1,
   0,
   0,
   0
  ]
 },
 "課後重點整理:遊戲測試與重播#2": {
  "type": "table",
  "reveal": [
   0,
   1,
   2,
   3,
   4
  ],
  "head": [
   "保險",
   "管什麼",
   "特點"
  ],
  "widths": [
   2,
   2,
   3
  ],
  "rows": [
   [
    "單元測試",
    "規則對不對",
    "快、便宜、最多"
   ],
   [
    "種子重播",
    "結果穩不穩",
    "同種子加同輸入,必然同結果"
   ],
   [
    "自動模擬",
    "平衡好不好",
    "看統計,不看單場"
   ],
   [
    "真機測試",
    "人玩起來爽不爽",
    "慢、貴、不可省"
   ]
  ]
 },
 "課後重點整理:遊戲測試與重播#6": {
  "type": "bar",
  "title": "誤差(正負百分點)",
  "reveal": [
   0,
   0,
   2,
   2,
   2,
   2
  ],
  "labels": [
   "60 場",
   "1067 場"
  ],
  "values": [
   12.7,
   3
  ],
  "unit": "點",
  "highlight": 0
 },
 "課後重點整理:遊戲測試與重播#7": {
  "type": "flow",
  "layout": "snake",
  "reveal": [
   0,
   0,
   7,
   7,
   8
  ],
  "nodes": [
   {
    "label": "安裝啟動"
   },
   {
    "label": "觸控畫面"
   },
   {
    "label": "中斷恢復"
   },
   {
    "label": "效能電量"
   },
   {
    "label": "離線存檔"
   },
   {
    "label": "重播"
   },
   {
    "label": "無障礙"
   },
   {
    "label": "上架閘門",
    "sub": "不能上架的情況",
    "kind": "end"
   }
  ]
 }
}