{"id":32556,"student_id":1404,"content":"{\n \"objName\": \"Stage\",\n \"variables\": [\n {\n \"name\": \"輪到誰\",\n \"value\": \"玩家\",\n \"isPersistent\": false\n },\n {\n \"name\": \"電腦的選擇\",\n \"value\": 4,\n \"isPersistent\": false\n },\n {\n \"name\": \"回合\",\n \"value\": 7,\n \"isPersistent\": false\n },\n {\n \"name\": \"i\",\n \"value\": \"8\",\n \"isPersistent\": false\n },\n {\n \"name\": \"n\",\n \"value\": 4,\n \"isPersistent\": false\n },\n {\n \"name\": \"勝利者\",\n \"value\": \"電腦\",\n \"isPersistent\": false\n },\n {\n \"name\": \"難易度\",\n \"value\": \"hard\",\n \"isPersistent\": false\n },\n {\n \"name\": \"攻擊得分\",\n \"value\": 200,\n \"isPersistent\": false\n },\n {\n \"name\": \"防守得分\",\n \"value\": 180,\n \"isPersistent\": false\n },\n {\n \"name\": \"電腦連成了幾子\",\n \"value\": 1,\n \"isPersistent\": false\n },\n {\n \"name\": \"m\",\n \"value\": 10,\n \"isPersistent\": false\n },\n {\n \"name\": \"玩家連成了幾子\",\n \"value\": 2,\n \"isPersistent\": false\n },\n {\n \"name\": \"攻防最高得分\",\n \"value\": 10180,\n \"isPersistent\": false\n },\n {\n \"name\": \"勝利條件第n項的第1個字\",\n \"value\": \"3\",\n \"isPersistent\": false\n },\n {\n \"name\": \"勝利條件第n項的第2個字\",\n \"value\": \"5\",\n \"isPersistent\": false\n },\n {\n \"name\": \"勝利條件第n項的第3個字\",\n \"value\": \"7\",\n \"isPersistent\": false\n }\n ],\n \"lists\": [\n {\n \"listName\": \"盤面狀態\",\n \"contents\": [\n \"2\",\n \"0\",\n \"1\",\n \"2\",\n \"1\",\n \"0\",\n \"2\",\n \"0\",\n \"1\"\n ],\n \"isPersistent\": false,\n \"x\": 5,\n \"y\": 32,\n \"width\": 111,\n \"height\": 227,\n \"visible\": true\n },\n {\n \"listName\": \"勝利條件\",\n \"contents\": [\n \"123\",\n \"456\",\n \"789\",\n \"147\",\n \"258\",\n \"369\",\n \"159\",\n \"357\"\n ],\n \"isPersistent\": false,\n \"x\": 372,\n \"y\": 34,\n \"width\": 108,\n \"height\": 212,\n \"visible\": true\n }\n ],\n \"scripts\": [\n [\n 10,\n 10,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"setVar:to:\",\n \"回合\",\n \"1\"\n ],\n [\n \"setVar:to:\",\n \"輪到誰\",\n \"難易度選擇中\"\n ],\n [\n \"setVar:to:\",\n \"勝利者\",\n \"\"\n ],\n [\n \"hideVariable:\",\n \"勝利者\"\n ],\n [\n \"deleteLine:ofList:\",\n \"all\",\n \"盤面狀態\"\n ],\n [\n \"doRepeat\",\n 9,\n [\n [\n \"append:toList:\",\n \"0\",\n \"盤面狀態\"\n ]\n ]\n ],\n [\n \"deleteLine:ofList:\",\n \"all\",\n \"勝利條件\"\n ],\n [\n \"append:toList:\",\n \"123\",\n \"勝利條件\"\n ],\n [\n \"append:toList:\",\n \"456\",\n \"勝利條件\"\n ],\n [\n \"append:toList:\",\n \"789\",\n \"勝利條件\"\n ],\n [\n \"append:toList:\",\n \"147\",\n \"勝利條件\"\n ],\n [\n \"append:toList:\",\n \"258\",\n \"勝利條件\"\n ],\n [\n \"append:toList:\",\n \"369\",\n \"勝利條件\"\n ],\n [\n \"append:toList:\",\n \"159\",\n \"勝利條件\"\n ],\n [\n \"append:toList:\",\n \"357\",\n \"勝利條件\"\n ]\n ]\n ],\n [\n 249,\n 5,\n [\n [\n \"whenIReceive\",\n \"player finish\"\n ],\n [\n \"setVar:to:\",\n \"輪到誰\",\n \"電腦\"\n ],\n [\n \"setVar:to:\",\n \"n\",\n \"1\"\n ],\n [\n \"doRepeat\",\n 8,\n [\n [\n \"call\",\n \"%n %n %n who? %n\",\n [\n \"letter:of:\",\n 1,\n [\n \"getLine:ofList:\",\n [\n \"readVariable\",\n \"n\"\n ],\n \"勝利條件\"\n ]\n ],\n [\n \"letter:of:\",\n 2,\n [\n \"getLine:ofList:\",\n [\n \"readVariable\",\n \"n\"\n ],\n \"勝利條件\"\n ]\n ],\n [\n \"letter:of:\",\n 3,\n [\n \"getLine:ofList:\",\n [\n \"readVariable\",\n \"n\"\n ],\n \"勝利條件\"\n ]\n ],\n 1\n ],\n [\n \"changeVar:by:\",\n \"n\",\n 1\n ]\n ]\n ]\n ]\n ],\n [\n 247,\n 199,\n [\n [\n \"whenIReceive\",\n \"Computer finish\"\n ],\n [\n \"setVar:to:\",\n \"輪到誰\",\n \"玩家\"\n ],\n [\n \"setVar:to:\",\n \"n\",\n \"1\"\n ],\n [\n \"doRepeat\",\n 8,\n [\n [\n \"call\",\n \"%n %n %n who? %n\",\n [\n \"letter:of:\",\n 1,\n [\n \"getLine:ofList:\",\n [\n \"readVariable\",\n \"n\"\n ],\n \"勝利條件\"\n ]\n ],\n [\n \"letter:of:\",\n 2,\n [\n \"getLine:ofList:\",\n [\n \"readVariable\",\n \"n\"\n ],\n \"勝利條件\"\n ]\n ],\n [\n \"letter:of:\",\n 3,\n [\n \"getLine:ofList:\",\n [\n \"readVariable\",\n \"n\"\n ],\n \"勝利條件\"\n ]\n ],\n 2\n ],\n [\n \"changeVar:by:\",\n \"n\",\n 1\n ]\n ]\n ]\n ]\n ],\n [\n 249.95,\n 403,\n [\n [\n \"procDef\",\n \"%n %n %n who? %n\",\n [\n \"a\",\n \"b\",\n \"c\",\n \"who\"\n ],\n [\n 1,\n 1,\n 1,\n 1\n ],\n false\n ],\n [\n \"doIf\",\n [\n \"\u0026\",\n [\n \"=\",\n [\n \"getLine:ofList:\",\n [\n \"getParam\",\n \"a\",\n \"r\"\n ],\n \"盤面狀態\"\n ],\n [\n \"getParam\",\n \"who\",\n \"r\"\n ]\n ],\n [\n \"\u0026\",\n [\n \"=\",\n [\n \"getLine:ofList:\",\n [\n \"getParam\",\n \"b\",\n \"r\"\n ],\n \"盤面狀態\"\n ],\n [\n \"getParam\",\n \"who\",\n \"r\"\n ]\n ],\n [\n \"=\",\n [\n \"getLine:ofList:\",\n [\n \"getParam\",\n \"c\",\n \"r\"\n ],\n \"盤面狀態\"\n ],\n [\n \"getParam\",\n \"who\",\n \"r\"\n ]\n ]\n ]\n ],\n [\n [\n \"doIfElse\",\n [\n \"=\",\n [\n \"getParam\",\n \"who\",\n \"r\"\n ],\n \"1\"\n ],\n [\n [\n \"setVar:to:\",\n \"勝利者\",\n \"玩家\"\n ]\n ],\n [\n [\n \"setVar:to:\",\n \"勝利者\",\n \"電腦\"\n ]\n ]\n ],\n [\n \"showVariable:\",\n \"勝利者\"\n ],\n [\n \"stopScripts\",\n \"all\"\n ]\n ]\n ]\n ]\n ],\n [\n 13,\n 486,\n [\n [\n \"whenIReceive\",\n \"start\"\n ],\n [\n \"setVar:to:\",\n \"輪到誰\",\n \"玩家\"\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"背景1\",\n \"baseLayerID\": 1,\n \"baseLayerMD5\": \"b61b1077b0ea1931abee9dbbfa7903ff.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 480,\n \"rotationCenterY\": 360\n },\n {\n \"costumeName\": \"tic grid 0\",\n \"baseLayerID\": 2,\n \"baseLayerMD5\": \"f8e1b53f6e2bfc1eb62bf3d5e3b14c0f.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 480,\n \"rotationCenterY\": 360\n },\n {\n \"costumeName\": \"tic grid\",\n \"baseLayerID\": 3,\n \"baseLayerMD5\": \"dd657eb090d94aaa6b1f686d774566c5.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 480,\n \"rotationCenterY\": 360\n },\n {\n \"costumeName\": \"tic tac cover\",\n \"baseLayerID\": 4,\n \"baseLayerMD5\": \"fc3de46dfcebed80174999519597bcbb.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 480,\n \"rotationCenterY\": 360\n },\n {\n \"costumeName\": \"tic grid2\",\n \"baseLayerID\": 5,\n \"baseLayerMD5\": \"5215d55b6c7a92363fbec612cefef389.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 480,\n \"rotationCenterY\": 360\n }\n ],\n \"currentCostumeIndex\": 0,\n \"penLayerMD5\": \"5c81a336fab8be57adc039a8a2b33ca9.png\",\n \"penLayerID\": 0,\n \"tempoBPM\": 60,\n \"videoAlpha\": 0.5,\n \"children\": [\n {\n \"objName\": \"角色1\",\n \"scripts\": [\n [\n 18,\n 49,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"lookLike:\",\n \"tic grid0\"\n ],\n [\n \"gotoX:y:\",\n -80,\n 80\n ]\n ]\n ],\n [\n 20,\n 167,\n [\n [\n \"whenClicked\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"doBroadcastAndWait\",\n \"choose 1\"\n ],\n [\n \"doBroadcastAndWait\",\n \"player finish\"\n ],\n [\n \"doIf\",\n [\n \"\u003c\",\n [\n \"readVariable\",\n \"回合\"\n ],\n \"9\"\n ],\n [\n [\n \"broadcast:\",\n \"Computer's turn\"\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n [\n 260,\n 173,\n [\n [\n \"whenIReceive\",\n \"choose 1\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"costumeIndex\"\n ],\n \"1\"\n ],\n [\n [\n \"doIfElse\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"lookLike:\",\n \"tic grid1\"\n ],\n [\n \"setLine:ofList:to:\",\n 1,\n \"盤面狀態\",\n \"1\"\n ]\n ],\n [\n [\n \"lookLike:\",\n \"tic grid2\"\n ],\n [\n \"setLine:ofList:to:\",\n 1,\n \"盤面狀態\",\n \"2\"\n ]\n ]\n ],\n [\n \"changeVar:by:\",\n \"回合\",\n 1\n ]\n ]\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"tic grid0\",\n \"baseLayerID\": 6,\n \"baseLayerMD5\": \"d71b8d308676974ef59bf04a27a601aa.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid1\",\n \"baseLayerID\": 7,\n \"baseLayerMD5\": \"e6a92eefa2deb64790b58503deeb743d.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid2\",\n \"baseLayerID\": 8,\n \"baseLayerMD5\": \"63147bc931685fb7b76df15343821dc3.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n }\n ],\n \"currentCostumeIndex\": 2,\n \"scratchX\": -80,\n \"scratchY\": 80,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 1,\n \"visible\": true,\n \"spriteInfo\": {\n }\n },\n {\n \"objName\": \"角色4\",\n \"scripts\": [\n [\n 18,\n 49,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"lookLike:\",\n \"tic grid0\"\n ],\n [\n \"gotoX:y:\",\n -80,\n 0\n ]\n ]\n ],\n [\n 332,\n 140,\n [\n [\n \"whenIReceive\",\n \"choose 4\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"costumeIndex\"\n ],\n \"1\"\n ],\n [\n [\n \"doIfElse\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"lookLike:\",\n \"tic grid1\"\n ],\n [\n \"setLine:ofList:to:\",\n 4,\n \"盤面狀態\",\n \"1\"\n ]\n ],\n [\n [\n \"lookLike:\",\n \"tic grid2\"\n ],\n [\n \"setLine:ofList:to:\",\n 4,\n \"盤面狀態\",\n \"2\"\n ]\n ]\n ],\n [\n \"changeVar:by:\",\n \"回合\",\n 1\n ]\n ]\n ]\n ]\n ],\n [\n 19,\n 192,\n [\n [\n \"whenClicked\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"doBroadcastAndWait\",\n \"choose 4\"\n ],\n [\n \"doBroadcastAndWait\",\n \"player finish\"\n ],\n [\n \"doIf\",\n [\n \"\u003c\",\n [\n \"readVariable\",\n \"回合\"\n ],\n \"9\"\n ],\n [\n [\n \"broadcast:\",\n \"Computer's turn\"\n ]\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"tic grid0\",\n \"baseLayerID\": 6,\n \"baseLayerMD5\": \"d71b8d308676974ef59bf04a27a601aa.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid1\",\n \"baseLayerID\": 7,\n \"baseLayerMD5\": \"e6a92eefa2deb64790b58503deeb743d.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid2\",\n \"baseLayerID\": 8,\n \"baseLayerMD5\": \"63147bc931685fb7b76df15343821dc3.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n }\n ],\n \"currentCostumeIndex\": 2,\n \"scratchX\": -80,\n \"scratchY\": 0,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 4,\n \"visible\": true,\n \"spriteInfo\": {\n }\n },\n {\n \"objName\": \"Computer\",\n \"scripts\": [\n [\n 11,\n 10,\n [\n [\n \"whenIReceive\",\n \"Computer's turn\"\n ]\n ]\n ],\n [\n 1912.35,\n 15.35,\n [\n [\n \"procDef\",\n \"選擇第 %n 格 並結束這回合\",\n [\n \"電腦的選擇\"\n ],\n [\n 1\n ],\n false\n ],\n [\n \"wait:elapsed:from:\",\n 0.5\n ],\n [\n \"doBroadcastAndWait\",\n [\n \"concatenate:with:\",\n \"choose \",\n [\n \"getParam\",\n \"電腦的選擇\",\n \"r\"\n ]\n ]\n ],\n [\n \"doBroadcastAndWait\",\n \"Computer finish\"\n ],\n [\n \"broadcast:\",\n \"player's turn\"\n ]\n ]\n ],\n [\n 432.1,\n 14.45,\n [\n [\n \"procDef\",\n \"依序計算每格,並找出攻防得分最高,做為電腦的選擇\",\n [\n\n ],\n [\n\n ],\n false\n ]\n ]\n ],\n [\n 820.95,\n 12.5,\n [\n [\n \"procDef\",\n \"計算第 %n 格在勝利條件第 %n 項的 %s 得分\",\n [\n \"m\",\n \"n\",\n \"動作\"\n ],\n [\n 1,\n 1,\n \"\"\n ],\n false\n ],\n [\n \"setVar:to:\",\n \"勝利條件第n項的第1個字\",\n [\n \"letter:of:\",\n 1,\n [\n \"getLine:ofList:\",\n [\n \"getParam\",\n \"n\",\n \"r\"\n ],\n \"勝利條件\"\n ]\n ]\n ],\n [\n \"setVar:to:\",\n \"勝利條件第n項的第2個字\",\n [\n \"letter:of:\",\n 2,\n [\n \"getLine:ofList:\",\n [\n \"getParam\",\n \"n\",\n \"r\"\n ],\n \"勝利條件\"\n ]\n ]\n ],\n [\n \"setVar:to:\",\n \"勝利條件第n項的第3個字\",\n [\n \"letter:of:\",\n 3,\n [\n \"getLine:ofList:\",\n [\n \"getParam\",\n \"n\",\n \"r\"\n ],\n \"勝利條件\"\n ]\n ]\n ]\n ]\n ],\n [\n 437.1,\n 326.25,\n [\n [\n \"procDef\",\n \"計算第 %n 格的攻防最高得分\",\n [\n \"m\"\n ],\n [\n 1\n ],\n false\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"造型1\",\n \"baseLayerID\": 9,\n \"baseLayerMD5\": \"d36f6603ec293d2c2198d3ea05109fe0.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 0,\n \"rotationCenterY\": 0\n }\n ],\n \"currentCostumeIndex\": 0,\n \"scratchX\": -10,\n \"scratchY\": 3,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 10,\n \"visible\": true,\n \"spriteInfo\": {\n }\n },\n {\n \"objName\": \"簡單\",\n \"scripts\": [\n [\n 10,\n 10,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"gotoX:y:\",\n -58,\n 142\n ],\n [\n \"show\"\n ],\n [\n \"doWaitUntil\",\n [\n \"\u0026\",\n [\n \"touching:\",\n \"_mouse_\"\n ],\n [\n \"mousePressed\"\n ]\n ]\n ],\n [\n \"setVar:to:\",\n \"難易度\",\n \"easy\"\n ],\n [\n \"broadcast:\",\n \"start\"\n ]\n ]\n ],\n [\n 339,\n 11,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"doForever\",\n [\n [\n \"doRepeat\",\n 10,\n [\n [\n \"changeGraphicEffect:by:\",\n \"ghost\",\n 8\n ]\n ]\n ],\n [\n \"doRepeat\",\n 10,\n [\n [\n \"changeGraphicEffect:by:\",\n \"ghost\",\n -8\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n [\n 523,\n 10,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"doForever\",\n [\n [\n \"doIfElse\",\n [\n \"touching:\",\n \"_mouse_\"\n ],\n [\n [\n \"lookLike:\",\n \"藍色簡單按鈕\"\n ]\n ],\n [\n [\n \"lookLike:\",\n \"灰色簡單按鈕\"\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n [\n 10,\n 260,\n [\n [\n \"whenIReceive\",\n \"start\"\n ],\n [\n \"stopScripts\",\n \"other scripts in sprite\"\n ],\n [\n \"filterReset\"\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"灰色簡單按鈕\",\n \"baseLayerID\": 10,\n \"baseLayerMD5\": \"efccc4565cbf704177c785542289db0b.svg\",\n \"bitmapResolution\": 1,\n \"rotationCenterX\": 45,\n \"rotationCenterY\": 32\n },\n {\n \"costumeName\": \"藍色簡單按鈕\",\n \"baseLayerID\": 11,\n \"baseLayerMD5\": \"0ac1d9165c5f67faf59619f6cdfb70ce.svg\",\n \"bitmapResolution\": 1,\n \"rotationCenterX\": 45,\n \"rotationCenterY\": 32\n }\n ],\n \"currentCostumeIndex\": 0,\n \"scratchX\": -58,\n \"scratchY\": 142,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 11,\n \"visible\": true,\n \"spriteInfo\": {\n }\n },\n {\n \"objName\": \"角色8\",\n \"scripts\": [\n [\n 18,\n 49,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"lookLike:\",\n \"tic grid0\"\n ],\n [\n \"gotoX:y:\",\n 0,\n -80\n ]\n ]\n ],\n [\n 254,\n 148,\n [\n [\n \"whenIReceive\",\n \"choose 8\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"costumeIndex\"\n ],\n \"1\"\n ],\n [\n [\n \"doIfElse\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"lookLike:\",\n \"tic grid1\"\n ],\n [\n \"setLine:ofList:to:\",\n 8,\n \"盤面狀態\",\n \"1\"\n ]\n ],\n [\n [\n \"lookLike:\",\n \"tic grid2\"\n ],\n [\n \"setLine:ofList:to:\",\n 8,\n \"盤面狀態\",\n \"2\"\n ]\n ]\n ],\n [\n \"changeVar:by:\",\n \"回合\",\n 1\n ]\n ]\n ]\n ]\n ],\n [\n 16,\n 174,\n [\n [\n \"whenClicked\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"doBroadcastAndWait\",\n \"choose 8\"\n ],\n [\n \"doBroadcastAndWait\",\n \"player finish\"\n ],\n [\n \"doIf\",\n [\n \"\u003c\",\n [\n \"readVariable\",\n \"回合\"\n ],\n \"9\"\n ],\n [\n [\n \"broadcast:\",\n \"Computer's turn\"\n ]\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"tic grid0\",\n \"baseLayerID\": 6,\n \"baseLayerMD5\": \"d71b8d308676974ef59bf04a27a601aa.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid1\",\n \"baseLayerID\": 7,\n \"baseLayerMD5\": \"e6a92eefa2deb64790b58503deeb743d.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid2\",\n \"baseLayerID\": 8,\n \"baseLayerMD5\": \"63147bc931685fb7b76df15343821dc3.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n }\n ],\n \"currentCostumeIndex\": 0,\n \"scratchX\": 0,\n \"scratchY\": -80,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 8,\n \"visible\": true,\n \"spriteInfo\": {\n }\n },\n {\n \"objName\": \"角色5\",\n \"scripts\": [\n [\n 18,\n 49,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"lookLike:\",\n \"tic grid0\"\n ],\n [\n \"gotoX:y:\",\n 0,\n 0\n ]\n ]\n ],\n [\n 16,\n 191,\n [\n [\n \"whenClicked\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"doBroadcastAndWait\",\n \"choose 5\"\n ],\n [\n \"doBroadcastAndWait\",\n \"player finish\"\n ],\n [\n \"doIf\",\n [\n \"\u003c\",\n [\n \"readVariable\",\n \"回合\"\n ],\n \"9\"\n ],\n [\n [\n \"broadcast:\",\n \"Computer's turn\"\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n [\n 284,\n 154,\n [\n [\n \"whenIReceive\",\n \"choose 5\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"costumeIndex\"\n ],\n \"1\"\n ],\n [\n [\n \"doIfElse\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"lookLike:\",\n \"tic grid1\"\n ],\n [\n \"setLine:ofList:to:\",\n 5,\n \"盤面狀態\",\n \"1\"\n ]\n ],\n [\n [\n \"lookLike:\",\n \"tic grid2\"\n ],\n [\n \"setLine:ofList:to:\",\n 5,\n \"盤面狀態\",\n \"2\"\n ]\n ]\n ],\n [\n \"changeVar:by:\",\n \"回合\",\n 1\n ]\n ]\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"tic grid0\",\n \"baseLayerID\": 6,\n \"baseLayerMD5\": \"d71b8d308676974ef59bf04a27a601aa.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid1\",\n \"baseLayerID\": 7,\n \"baseLayerMD5\": \"e6a92eefa2deb64790b58503deeb743d.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid2\",\n \"baseLayerID\": 8,\n \"baseLayerMD5\": \"63147bc931685fb7b76df15343821dc3.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n }\n ],\n \"currentCostumeIndex\": 1,\n \"scratchX\": 0,\n \"scratchY\": 0,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 5,\n \"visible\": true,\n \"spriteInfo\": {\n }\n },\n {\n \"objName\": \"角色3\",\n \"scripts\": [\n [\n 18,\n 49,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"lookLike:\",\n \"tic grid0\"\n ],\n [\n \"gotoX:y:\",\n 80,\n 80\n ]\n ]\n ],\n [\n 17,\n 182,\n [\n [\n \"whenClicked\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"doBroadcastAndWait\",\n \"choose 3\"\n ],\n [\n \"doBroadcastAndWait\",\n \"player finish\"\n ],\n [\n \"doIf\",\n [\n \"\u003c\",\n [\n \"readVariable\",\n \"回合\"\n ],\n \"9\"\n ],\n [\n [\n \"broadcast:\",\n \"Computer's turn\"\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n [\n 290,\n 155,\n [\n [\n \"whenIReceive\",\n \"choose 3\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"costumeIndex\"\n ],\n \"1\"\n ],\n [\n [\n \"doIfElse\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"lookLike:\",\n \"tic grid1\"\n ],\n [\n \"setLine:ofList:to:\",\n 3,\n \"盤面狀態\",\n \"1\"\n ]\n ],\n [\n [\n \"lookLike:\",\n \"tic grid2\"\n ],\n [\n \"setLine:ofList:to:\",\n 3,\n \"盤面狀態\",\n \"2\"\n ]\n ]\n ],\n [\n \"changeVar:by:\",\n \"回合\",\n 1\n ]\n ]\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"tic grid0\",\n \"baseLayerID\": 6,\n \"baseLayerMD5\": \"d71b8d308676974ef59bf04a27a601aa.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid1\",\n \"baseLayerID\": 7,\n \"baseLayerMD5\": \"e6a92eefa2deb64790b58503deeb743d.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid2\",\n \"baseLayerID\": 8,\n \"baseLayerMD5\": \"63147bc931685fb7b76df15343821dc3.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n }\n ],\n \"currentCostumeIndex\": 1,\n \"scratchX\": 80,\n \"scratchY\": 80,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 3,\n \"visible\": true,\n \"spriteInfo\": {\n }\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"i\",\n \"color\": 15629590,\n \"label\": \"i\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 120,\n \"y\": 59,\n \"visible\": false\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"n\",\n \"color\": 15629590,\n \"label\": \"n\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 120,\n \"y\": 86,\n \"visible\": false\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"回合\",\n \"color\": 15629590,\n \"label\": \"回合\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 385,\n \"y\": 4,\n \"visible\": true\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"電腦連成了幾子\",\n \"color\": 15629590,\n \"label\": \"電腦連成了幾子\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 124,\n \"y\": 167,\n \"visible\": false\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"玩家連成了幾子\",\n \"color\": 15629590,\n \"label\": \"玩家連成了幾子\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 124,\n \"y\": 221,\n \"visible\": false\n },\n {\n \"objName\": \"角色9\",\n \"scripts\": [\n [\n 18,\n 49,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"lookLike:\",\n \"tic grid0\"\n ],\n [\n \"gotoX:y:\",\n 80,\n -80\n ]\n ]\n ],\n [\n 259,\n 148,\n [\n [\n \"whenIReceive\",\n \"choose 9\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"costumeIndex\"\n ],\n \"1\"\n ],\n [\n [\n \"doIfElse\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"lookLike:\",\n \"tic grid1\"\n ],\n [\n \"setLine:ofList:to:\",\n 9,\n \"盤面狀態\",\n \"1\"\n ]\n ],\n [\n [\n \"lookLike:\",\n \"tic grid2\"\n ],\n [\n \"setLine:ofList:to:\",\n 9,\n \"盤面狀態\",\n \"2\"\n ]\n ]\n ],\n [\n \"changeVar:by:\",\n \"回合\",\n 1\n ]\n ]\n ]\n ]\n ],\n [\n 16,\n 176,\n [\n [\n \"whenClicked\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"doBroadcastAndWait\",\n \"choose 9\"\n ],\n [\n \"doBroadcastAndWait\",\n \"player finish\"\n ],\n [\n \"doIf\",\n [\n \"\u003c\",\n [\n \"readVariable\",\n \"回合\"\n ],\n \"9\"\n ],\n [\n [\n \"broadcast:\",\n \"Computer's turn\"\n ]\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"tic grid0\",\n \"baseLayerID\": 6,\n \"baseLayerMD5\": \"d71b8d308676974ef59bf04a27a601aa.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid1\",\n \"baseLayerID\": 7,\n \"baseLayerMD5\": \"e6a92eefa2deb64790b58503deeb743d.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid2\",\n \"baseLayerID\": 8,\n \"baseLayerMD5\": \"63147bc931685fb7b76df15343821dc3.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n }\n ],\n \"currentCostumeIndex\": 1,\n \"scratchX\": 80,\n \"scratchY\": -80,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 9,\n \"visible\": true,\n \"spriteInfo\": {\n }\n },\n {\n \"objName\": \"角色2\",\n \"scripts\": [\n [\n 18,\n 49,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"lookLike:\",\n \"tic grid0\"\n ],\n [\n \"gotoX:y:\",\n 0,\n 80\n ]\n ]\n ],\n [\n 21,\n 176,\n [\n [\n \"whenClicked\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"doBroadcastAndWait\",\n \"choose 2\"\n ],\n [\n \"doBroadcastAndWait\",\n \"player finish\"\n ],\n [\n \"doIf\",\n [\n \"\u003c\",\n [\n \"readVariable\",\n \"回合\"\n ],\n \"9\"\n ],\n [\n [\n \"broadcast:\",\n \"Computer's turn\"\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n [\n 307,\n 153,\n [\n [\n \"whenIReceive\",\n \"choose 2\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"costumeIndex\"\n ],\n \"1\"\n ],\n [\n [\n \"doIfElse\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"lookLike:\",\n \"tic grid1\"\n ],\n [\n \"setLine:ofList:to:\",\n 2,\n \"盤面狀態\",\n \"1\"\n ]\n ],\n [\n [\n \"lookLike:\",\n \"tic grid2\"\n ],\n [\n \"setLine:ofList:to:\",\n 2,\n \"盤面狀態\",\n \"2\"\n ]\n ]\n ],\n [\n \"changeVar:by:\",\n \"回合\",\n 1\n ]\n ]\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"tic grid0\",\n \"baseLayerID\": 6,\n \"baseLayerMD5\": \"d71b8d308676974ef59bf04a27a601aa.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid1\",\n \"baseLayerID\": 7,\n \"baseLayerMD5\": \"e6a92eefa2deb64790b58503deeb743d.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid2\",\n \"baseLayerID\": 8,\n \"baseLayerMD5\": \"63147bc931685fb7b76df15343821dc3.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n }\n ],\n \"currentCostumeIndex\": 0,\n \"scratchX\": 0,\n \"scratchY\": 80,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 2,\n \"visible\": true,\n \"spriteInfo\": {\n }\n },\n {\n \"objName\": \"角色6\",\n \"scripts\": [\n [\n 18,\n 49,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"lookLike:\",\n \"tic grid0\"\n ],\n [\n \"gotoX:y:\",\n 80,\n 0\n ]\n ]\n ],\n [\n 17,\n 204,\n [\n [\n \"whenClicked\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"doBroadcastAndWait\",\n \"choose 6\"\n ],\n [\n \"doBroadcastAndWait\",\n \"player finish\"\n ],\n [\n \"doIf\",\n [\n \"\u003c\",\n [\n \"readVariable\",\n \"回合\"\n ],\n \"9\"\n ],\n [\n [\n \"broadcast:\",\n \"Computer's turn\"\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n [\n 298,\n 152,\n [\n [\n \"whenIReceive\",\n \"choose 6\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"costumeIndex\"\n ],\n \"1\"\n ],\n [\n [\n \"doIfElse\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"lookLike:\",\n \"tic grid1\"\n ],\n [\n \"setLine:ofList:to:\",\n 6,\n \"盤面狀態\",\n \"1\"\n ]\n ],\n [\n [\n \"lookLike:\",\n \"tic grid2\"\n ],\n [\n \"setLine:ofList:to:\",\n 6,\n \"盤面狀態\",\n \"2\"\n ]\n ]\n ],\n [\n \"changeVar:by:\",\n \"回合\",\n 1\n ]\n ]\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"tic grid0\",\n \"baseLayerID\": 6,\n \"baseLayerMD5\": \"d71b8d308676974ef59bf04a27a601aa.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid1\",\n \"baseLayerID\": 7,\n \"baseLayerMD5\": \"e6a92eefa2deb64790b58503deeb743d.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid2\",\n \"baseLayerID\": 8,\n \"baseLayerMD5\": \"63147bc931685fb7b76df15343821dc3.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n }\n ],\n \"currentCostumeIndex\": 0,\n \"scratchX\": 80,\n \"scratchY\": 0,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 6,\n \"visible\": true,\n \"spriteInfo\": {\n }\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"輪到誰\",\n \"color\": 15629590,\n \"label\": \"輪到誰\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 5,\n \"y\": 5,\n \"visible\": true\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"難易度\",\n \"color\": 15629590,\n \"label\": \"難易度\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 126,\n \"y\": 5,\n \"visible\": false\n },\n {\n \"objName\": \"角色7\",\n \"scripts\": [\n [\n 18,\n 49,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"lookLike:\",\n \"tic grid0\"\n ],\n [\n \"gotoX:y:\",\n -80,\n -80\n ]\n ]\n ],\n [\n 256,\n 131,\n [\n [\n \"whenIReceive\",\n \"choose 7\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"costumeIndex\"\n ],\n \"1\"\n ],\n [\n [\n \"doIfElse\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"lookLike:\",\n \"tic grid1\"\n ],\n [\n \"setLine:ofList:to:\",\n 7,\n \"盤面狀態\",\n \"1\"\n ]\n ],\n [\n [\n \"lookLike:\",\n \"tic grid2\"\n ],\n [\n \"setLine:ofList:to:\",\n 7,\n \"盤面狀態\",\n \"2\"\n ]\n ]\n ],\n [\n \"changeVar:by:\",\n \"回合\",\n 1\n ]\n ]\n ]\n ]\n ],\n [\n 18,\n 169,\n [\n [\n \"whenClicked\"\n ],\n [\n \"doIf\",\n [\n \"=\",\n [\n \"readVariable\",\n \"輪到誰\"\n ],\n \"玩家\"\n ],\n [\n [\n \"doBroadcastAndWait\",\n \"choose 7\"\n ],\n [\n \"doBroadcastAndWait\",\n \"player finish\"\n ],\n [\n \"doIf\",\n [\n \"\u003c\",\n [\n \"readVariable\",\n \"回合\"\n ],\n \"9\"\n ],\n [\n [\n \"broadcast:\",\n \"Computer's turn\"\n ]\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"tic grid0\",\n \"baseLayerID\": 6,\n \"baseLayerMD5\": \"d71b8d308676974ef59bf04a27a601aa.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid1\",\n \"baseLayerID\": 7,\n \"baseLayerMD5\": \"e6a92eefa2deb64790b58503deeb743d.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n },\n {\n \"costumeName\": \"tic grid2\",\n \"baseLayerID\": 8,\n \"baseLayerMD5\": \"63147bc931685fb7b76df15343821dc3.png\",\n \"bitmapResolution\": 2,\n \"rotationCenterX\": 81,\n \"rotationCenterY\": 81\n }\n ],\n \"currentCostumeIndex\": 2,\n \"scratchX\": -80,\n \"scratchY\": -80,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 7,\n \"visible\": true,\n \"spriteInfo\": {\n }\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"電腦的選擇\",\n \"color\": 15629590,\n \"label\": \"電腦的選擇\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 120,\n \"y\": 32,\n \"visible\": false\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"m\",\n \"color\": 15629590,\n \"label\": \"m\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 124,\n \"y\": 194,\n \"visible\": false\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"勝利條件第n項的第1個字\",\n \"color\": 15629590,\n \"label\": \"勝利條件第n項的第1個字\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 5,\n \"y\": 248,\n \"visible\": false\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"勝利條件第n項的第2個字\",\n \"color\": 15629590,\n \"label\": \"勝利條件第n項的第2個字\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 5,\n \"y\": 275,\n \"visible\": false\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"勝利條件第n項的第3個字\",\n \"color\": 15629590,\n \"label\": \"勝利條件第n項的第3個字\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 5,\n \"y\": 302,\n \"visible\": false\n },\n {\n \"objName\": \"困難\",\n \"scripts\": [\n [\n 10,\n 10,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"gotoX:y:\",\n 63,\n 142\n ],\n [\n \"show\"\n ],\n [\n \"doWaitUntil\",\n [\n \"\u0026\",\n [\n \"touching:\",\n \"_mouse_\"\n ],\n [\n \"mousePressed\"\n ]\n ]\n ],\n [\n \"setVar:to:\",\n \"難易度\",\n \"hard\"\n ],\n [\n \"broadcast:\",\n \"start\"\n ]\n ]\n ],\n [\n 339,\n 11,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"doForever\",\n [\n [\n \"doRepeat\",\n 10,\n [\n [\n \"changeGraphicEffect:by:\",\n \"ghost\",\n 8\n ]\n ]\n ],\n [\n \"doRepeat\",\n 10,\n [\n [\n \"changeGraphicEffect:by:\",\n \"ghost\",\n -8\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n [\n 523,\n 10,\n [\n [\n \"whenGreenFlag\"\n ],\n [\n \"doForever\",\n [\n [\n \"doIfElse\",\n [\n \"touching:\",\n \"_mouse_\"\n ],\n [\n [\n \"lookLike:\",\n \"藍色困難按鈕\"\n ]\n ],\n [\n [\n \"lookLike:\",\n \"灰色困難按鈕\"\n ]\n ]\n ]\n ]\n ]\n ]\n ],\n [\n 10,\n 267,\n [\n [\n \"whenIReceive\",\n \"start\"\n ],\n [\n \"stopScripts\",\n \"other scripts in sprite\"\n ],\n [\n \"filterReset\"\n ]\n ]\n ]\n ],\n \"sounds\": [\n {\n \"soundName\": \"pop\",\n \"soundID\": 0,\n \"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n \"sampleCount\": 258,\n \"rate\": 11025,\n \"format\": \"\"\n }\n ],\n \"costumes\": [\n {\n \"costumeName\": \"灰色困難按鈕\",\n \"baseLayerID\": 12,\n \"baseLayerMD5\": \"84778d670d8318436c75534f8b12f047.svg\",\n \"bitmapResolution\": 1,\n \"rotationCenterX\": 45,\n \"rotationCenterY\": 32\n },\n {\n \"costumeName\": \"藍色困難按鈕\",\n \"baseLayerID\": 13,\n \"baseLayerMD5\": \"ac44f552f64e73b3866e6f2aef0bfde5.svg\",\n \"bitmapResolution\": 1,\n \"rotationCenterX\": 45,\n \"rotationCenterY\": 32\n }\n ],\n \"currentCostumeIndex\": 1,\n \"scratchX\": 63,\n \"scratchY\": 142,\n \"scale\": 1,\n \"direction\": 90,\n \"rotationStyle\": \"normal\",\n \"isDraggable\": false,\n \"indexInLibrary\": 12,\n \"visible\": true,\n \"spriteInfo\": {\n }\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"勝利者\",\n \"color\": 15629590,\n \"label\": \"勝利者\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 198,\n \"y\": 315,\n \"visible\": true\n },\n {\n \"listName\": \"盤面狀態\",\n \"contents\": [\n \"2\",\n \"0\",\n \"1\",\n \"2\",\n \"1\",\n \"0\",\n \"2\",\n \"0\",\n \"1\"\n ],\n \"isPersistent\": false,\n \"x\": 5,\n \"y\": 32,\n \"width\": 111,\n \"height\": 227,\n \"visible\": true\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"攻防最高得分\",\n \"color\": 15629590,\n \"label\": \"攻防最高得分\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 351,\n \"y\": 335,\n \"visible\": true\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"防守得分\",\n \"color\": 15629590,\n \"label\": \"防守得分\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 369,\n \"y\": 307,\n \"visible\": true\n },\n {\n \"listName\": \"勝利條件\",\n \"contents\": [\n \"123\",\n \"456\",\n \"789\",\n \"147\",\n \"258\",\n \"369\",\n \"159\",\n \"357\"\n ],\n \"isPersistent\": false,\n \"x\": 372,\n \"y\": 34,\n \"width\": 108,\n \"height\": 212,\n \"visible\": true\n },\n {\n \"target\": \"Stage\",\n \"cmd\": \"getVar:\",\n \"param\": \"攻擊得分\",\n \"color\": 15629590,\n \"label\": \"攻擊得分\",\n \"mode\": 1,\n \"sliderMin\": 0,\n \"sliderMax\": 100,\n \"isDiscrete\": true,\n \"x\": 370,\n \"y\": 279,\n \"visible\": true\n }\n ],\n \"info\": {\n \"scriptCount\": 45,\n \"projectID\": \"projects_5j3s362\",\n \"spriteCount\": 12,\n \"swfVersion\": \"v454\",\n \"videoOn\": false,\n \"userAgent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36\",\n \"flashVersion\": \"WIN 29,0,0,171\",\n \"hasCloudData\": false\n }\n}","created_at":"2018-06-29T17:03:18.693+08:00","updated_at":"2019-09-29T22:46:34.987+08:00","name":"Tic-Tac-Toe (S)","language":"scratch3","screenshot":{"url":"https://cdn2.koding.school/uploads/project/screenshot/32556/a813167a9ff6bbc1928878fca833b01a.jpg"},"parent_id":30398,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":122,"hashid":"npms4yjr","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":606932,"file_name":"13.svg","project_id":32556,"asset_id":68778,"created_at":"2018-06-29T17:03:18.706+08:00","updated_at":"2018-06-29T17:03:18.706+08:00"},{"id":606933,"file_name":"12.svg","project_id":32556,"asset_id":68777,"created_at":"2018-06-29T17:03:18.708+08:00","updated_at":"2018-06-29T17:03:18.708+08:00"},{"id":606934,"file_name":"11.svg","project_id":32556,"asset_id":68776,"created_at":"2018-06-29T17:03:18.709+08:00","updated_at":"2018-06-29T17:03:18.709+08:00"},{"id":606935,"file_name":"10.svg","project_id":32556,"asset_id":68775,"created_at":"2018-06-29T17:03:18.711+08:00","updated_at":"2018-06-29T17:03:18.711+08:00"},{"id":606936,"file_name":"9.png","project_id":32556,"asset_id":68774,"created_at":"2018-06-29T17:03:18.712+08:00","updated_at":"2018-06-29T17:03:18.712+08:00"},{"id":606937,"file_name":"8.png","project_id":32556,"asset_id":68773,"created_at":"2018-06-29T17:03:18.713+08:00","updated_at":"2018-06-29T17:03:18.713+08:00"},{"id":606938,"file_name":"7.png","project_id":32556,"asset_id":68772,"created_at":"2018-06-29T17:03:18.715+08:00","updated_at":"2018-06-29T17:03:18.715+08:00"},{"id":606939,"file_name":"6.png","project_id":32556,"asset_id":68771,"created_at":"2018-06-29T17:03:18.716+08:00","updated_at":"2018-06-29T17:03:18.716+08:00"},{"id":606940,"file_name":"5.png","project_id":32556,"asset_id":68770,"created_at":"2018-06-29T17:03:18.717+08:00","updated_at":"2018-06-29T17:03:18.717+08:00"},{"id":606941,"file_name":"4.png","project_id":32556,"asset_id":68769,"created_at":"2018-06-29T17:03:18.719+08:00","updated_at":"2018-06-29T17:03:18.719+08:00"},{"id":606942,"file_name":"3.png","project_id":32556,"asset_id":68768,"created_at":"2018-06-29T17:03:18.720+08:00","updated_at":"2018-06-29T17:03:18.720+08:00"},{"id":606943,"file_name":"2.png","project_id":32556,"asset_id":68767,"created_at":"2018-06-29T17:03:18.721+08:00","updated_at":"2018-06-29T17:03:18.721+08:00"},{"id":606944,"file_name":"1.png","project_id":32556,"asset_id":68766,"created_at":"2018-06-29T17:03:18.723+08:00","updated_at":"2018-06-29T17:03:18.723+08:00"},{"id":606945,"file_name":"0.wav","project_id":32556,"asset_id":68765,"created_at":"2018-06-29T17:03:18.724+08:00","updated_at":"2018-06-29T17:03:18.724+08:00"},{"id":606946,"file_name":"0.png","project_id":32556,"asset_id":68764,"created_at":"2018-06-29T17:03:18.725+08:00","updated_at":"2018-06-29T17:03:18.725+08:00"},{"id":19584451,"file_name":null,"project_id":32556,"asset_id":22,"created_at":"2024-11-04T00:11:35.335+08:00","updated_at":"2024-11-04T00:11:35.335+08:00"},{"id":19584452,"file_name":null,"project_id":32556,"asset_id":9,"created_at":"2024-11-04T00:11:35.343+08:00","updated_at":"2024-11-04T00:11:35.343+08:00"},{"id":19584453,"file_name":null,"project_id":32556,"asset_id":6,"created_at":"2024-11-04T00:11:35.346+08:00","updated_at":"2024-11-04T00:11:35.346+08:00"},{"id":19584454,"file_name":null,"project_id":32556,"asset_id":1227,"created_at":"2024-11-04T00:11:35.358+08:00","updated_at":"2024-11-04T00:11:35.358+08:00"}]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
繁中
简中
English
日本語
語言
繁中
简中
English
日本語
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦