{
 "原理:競技遊戲的玩家資料,該存什麼、不該存什麼#3": {
  "type": "cards",
  "avatar": "hide",
  "reveal": [
   0,
   1,
   2,
   4,
   4
  ],
  "cards": [
   {
    "title": "身分",
    "points": [
     "隨機 playerId",
     "顯示名稱",
     "訪客或已綁定"
    ]
   },
   {
    "title": "進度",
    "points": [
     "總勝敗與積分",
     "解鎖項目",
     "遊戲點數"
    ]
   },
   {
    "title": "紀錄",
    "points": [
     "每場簡要紀錄",
     "有上限可截斷"
    ]
   },
   {
    "title": "設定",
    "points": [
     "難度",
     "音量",
     "字幕開關"
    ]
   }
  ]
 },
 "原理:競技遊戲的玩家資料,該存什麼、不該存什麼#5": {
  "type": "cards",
  "reveal": [
   0,
   1,
   2,
   3
  ],
  "cards": [
   {
    "title": "多餘個資",
    "points": [
     "真實姓名、電話",
     "住址、精確位置"
    ]
   },
   {
    "title": "算得出的",
    "points": [
     "勝率",
     "存了會對不上"
    ]
   },
   {
    "title": "秘密",
    "points": [
     "金鑰、伺服器密碼",
     "存取權杖"
    ]
   }
  ]
 },
 "原理:競技遊戲的玩家資料,該存什麼、不該存什麼#6": {
  "type": "flow",
  "layout": "row",
  "reveal": [
   2,
   3,
   3
  ],
  "nodes": [
   {
    "label": "玩家操作"
   },
   {
    "label": "本機存檔",
    "sub": "唯一真實來源"
   },
   {
    "label": "排行榜",
    "sub": "只送結算成績",
    "kind": "end"
   }
  ],
  "edges": [
   [
    0,
    1
   ],
   [
    1,
    2
   ]
  ]
 },
 "觀念教學:訪客與 Apple 登入的設計#4": {
  "type": "flow",
  "layout": "row",
  "reveal": [
   0,
   2,
   3,
   4
  ],
  "nodes": [
   {
    "label": "按 Apple 登入",
    "sub": "設定頁"
   },
   {
    "label": "系統對話框",
    "sub": "玩家確認"
   },
   {
    "label": "取得識別",
    "sub": "與憑證"
   },
   {
    "label": "伺服器驗證",
    "sub": "一定在伺服器端",
    "kind": "end"
   }
  ],
  "edges": [
   [
    0,
    1
   ],
   [
    1,
    2
   ],
   [
    2,
    3
   ]
  ]
 },
 "觀念教學:訪客與 Apple 登入的設計#5": {
  "type": "table",
  "head": [
   "情況",
   "做法"
  ],
  "widths": [
   2,
   5
  ],
  "reveal": [
   0,
   1,
   2
  ],
  "rows": [
   [
    "驗證成功",
    "kind 改 apple,存不透明識別"
   ],
   [
    "沒有伺服器",
    "只是本機標記,別暗示雲端備份"
   ]
  ]
 },
 "觀念教學:訪客與 Apple 登入的設計#6": {
  "type": "flow",
  "layout": "row",
  "reveal": [
   2,
   3,
   3,
   3,
   4
  ],
  "nodes": [
   {
    "label": "遊戲程式"
   },
   {
    "label": "AppleGateway",
    "sub": "自己的介面"
   },
   {
    "label": "登入套件",
    "sub": "只關在一個檔案"
   },
   {
    "label": "FakeAppleGateway",
    "sub": "測試用"
   }
  ],
  "edges": [
   [
    0,
    1
   ],
   [
    1,
    2
   ],
   [
    1,
    3
   ]
  ]
 },
 "觀念教學:本機存檔、資料版本與遷移#2": {
  "type": "cards",
  "reveal": [
   0,
   2,
   3,
   3
  ],
  "cards": [
   {
    "title": "v",
    "points": [
     "信封格式版本"
    ],
    "value": "現在是 3"
   },
   {
    "title": "body",
    "points": [
     "玩家資料 JSON",
     "整份當一個字串"
    ]
   },
   {
    "title": "sum",
    "points": [
     "body 的校驗碼"
    ]
   }
  ]
 },
 "觀念教學:本機存檔、資料版本與遷移#3": {
  "type": "flow",
  "layout": "row",
  "reveal": [
   0,
   0,
   3,
   3,
   4
  ],
  "nodes": [
   {
    "label": "解碼 JSON"
   },
   {
    "label": "取出 body"
   },
   {
    "label": "重算校驗碼",
    "sub": "fnv1a32"
   },
   {
    "label": "比對 sum",
    "sub": "不符丟 FormatException",
    "kind": "end"
   }
  ],
  "edges": [
   [
    0,
    1
   ],
   [
    1,
    2
   ],
   [
    2,
    3
   ]
  ]
 },
 "觀念教學:本機存檔、資料版本與遷移#4": {
  "type": "table",
  "head": [
   "輸入",
   "應得到"
  ],
  "widths": [
   2,
   4
  ],
  "reveal": [
   0,
   2,
   2
  ],
  "rows": [
   [
    "foul",
    "1097470459"
   ],
   [
    "abc",
    "440920331"
   ]
  ]
 },
 "觀念教學:戰績與積分的資料模型#3": {
  "type": "table",
  "avatar": "hide",
  "head": [
   "項目(示範設計)",
   "規則"
  ],
  "widths": [
   3,
   5
  ],
  "reveal": [
   0,
   1,
   2,
   3,
   4
  ],
  "rows": [
   [
    "勝場基本分",
    "100 + 10 × min(分差,5)"
   ],
   [
    "敗場基本分",
    "20"
   ],
   [
    "難度加成",
    "簡單 80%、普通 100%、困難 120%"
   ],
   [
    "最後",
    "取整數"
   ]
  ]
 },
 "觀念教學:戰績與積分的資料模型#4": {
  "type": "bar",
  "unit": "分(示範)",
  "reveal": [
   1,
   2,
   3
  ],
  "labels": [
   "普通勝3",
   "困難勝3",
   "簡單勝3"
  ],
  "values": [
   130,
   156,
   104
  ]
 },
 "觀念教學:戰績與積分的資料模型#5": {
  "type": "bar",
  "unit": "分(示範)",
  "reveal": [
   1,
   3,
   3
  ],
  "labels": [
   "困難勝7",
   "困難敗",
   "簡單敗"
  ],
  "values": [
   180,
   24,
   16
  ]
 },
 "課後重點整理:玩家資料、登入與本機存檔#5": {
  "type": "table",
  "avatar": "hide",
  "head": [
   "階段",
   "順序"
  ],
  "widths": [
   2,
   6
  ],
  "reveal": [
   0,
   1,
   2,
   2,
   2,
   2
  ],
  "rows": [
   [
    "寫入",
    "暫存檔、備份、改名"
   ],
   [
    "讀取",
    "正本、備份、全新玩家(保留壞檔)"
   ]
  ]
 },
 "課後重點整理:玩家資料、登入與本機存檔#7": {
  "type": "pie",
  "reveal": [
   2,
   2
  ],
  "labels": [
   "勝場 37",
   "敗場 23"
  ],
  "values": [
   37,
   23
  ]
 }
}