Game_id=50 範例[可以自由設定(多選1)問答] ~~~~~~ 個人array 位置和說明 ~~~~~~ 1~10. 產生連續亂數0~9 在位置1到10 11. ary[1] * 100 12. ary[2] * 10 13. ary[13] = ary[11] + ary[12] 14. ary[14] = ary[13] + ary[3] 等於最後要猜中的答案 15. ary[15] = ary[14] % 2 (除2餘@a(15) , 除3餘@a(16) ) 16. ary[16] = ary[14] % 3 19. 玩家這次輸入的號碼 21. 玩家這次輸入的百位數 22. 玩家這次輸入的十數 23. 玩家這次輸入的個位數 24. 玩家這次輸入 / 10 取int 31. 這次輸入有幾個數字對 32. 這次輸入有幾個位置對 33. 答對幾次 (玩了幾次) 34. 從頭到尾輸入數字幾次 35. 平均解決一題要幾秒鐘 36. 總共玩的秒數 37. 這次keyin遊戲玩了秒數 = ary[39] - ary[38] 38. 結束的秒數 39. 開始的秒數 40. 平均一題要解幾次= ary[34] / ary[33] 41. 上一次輸入有幾個數字對 42. 上一次輸入有幾個位置對 43. 這次密碼 輸入數字幾次 44. point 積分 假如玩10次以上 ,[積分 = (ARY[40] 平均一題要解幾次) X (ARY[35] 平均一題要用幾秒數)] 45 級數LV (LV1=500以下), (LV2=550),(LV3=600),(LV4=650),(LV5=700),(LV6=750),(LV7=800),(LV8=850),(LV9==900),(LV10=950) 50 get 後面5個值存成md5 (排名check碼) 51 game_id 52 遊戲第一局的20191231日期 53 1530144600 微秒 54 場次 = ary[33] 55 存入當時的point = ary[44] ~~~~~~ evt 事件說明 ~~~~~ 1:[evt1_ms=0] 遊戲最開始的初始化 evt1_id =1 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=1 (初始化, 先設定evt1_id =1 是一開始就有執行, 設定一開始執行的事件是1 evt1_id =1 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=2 ary[33]=0 evt1_id =1 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=3 ary[34]=0 evt1_id =1 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=4 ary[51]= game_id evt1_id =1 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=5 ary[52]= 遊戲第一局的20191231 evt1_id =1 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=6 ary[53]= 1530144600 sec秒 evt1_id =1 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=7 goto evt1_id =2, 2:[evt1_ms=0] 每一次猜數字初始化 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=2 ary[39]=現在秒數(格式sec.usec =1530144600.12) 開始的秒數 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=3 ary[31]=0 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=4 ary[32]=0 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=5 產生由 ary[1~10] ,亂數1~9 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=6 ary[11]= ary[1] * 100 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=7 ary[12]= ary[2] * 10 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=8 ary[13]= ary[11] + ary[12] evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=9 ary[14]= ary[13] + ary[3] evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=11 ary[15]= ary[14] % 2 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=12 ary[16]= ary[14] % 3 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=13 ary[40]= ary[34] / ary[33] evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=14 ary[41]= 0 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=15 ary[42]= 0 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=16 ary[21]= 4 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=17 ary[22]= 5 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=18 ary[23]= 6 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=20 初始化 temp_str = @a(4)@a(5)@a(6) 3N☒ %2=@a(15) %3=@a(16) evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=21 ary[43]= 0 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=22 ary[37]= 0 evt1_id =2 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=23 goto evt1_id =101 101:[evt1_ms=0] 猜數字 evt1_id =101 ,[evt2_ms=1]:evt2_id= 1 : evt3_id=1 輸入要猜的數字如123 , 輸入完之後會跳去然後就跳去evt2_id =2 evt1_id =101 ,[evt2_ms=0]:evt2_id= 2 : evt3_id=1 ary[21]= ary[19] / 100 取(int) evt1_id =101 ,[evt2_ms=0]:evt2_id= 2 : evt3_id=2 ary[23]= ary[19] % 10 evt1_id =101 ,[evt2_ms=0]:evt2_id= 2 : evt3_id=3 ary[24]= ary[19] / 10 取(int) evt1_id =101 ,[evt2_ms=0]:evt2_id= 2 : evt3_id=4 ary[22]= ary[24] % 10 evt1_id =101 ,[evt2_ms=0]:evt2_id= 2 : evt3_id=5 goto evt2_id =3 evt1_id =1 ,[evt2_ms=0]:evt2_id= 3 : evt3_id=1 if (ary[21]=ary[22]) or (ary[21]=ary[23]) (ary[22]=ary[23]) then [請輸入三個不重復的的數字, ] else [ goto evt1_id =999] 999:[evt1_ms=0] 結算 evt1_id =999 ,[evt2_ms=0]:evt2_id= 1 : evt3_id=1 goto evt2_id =11 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3L_id=1 if (ary[14]==ary[19]) then evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3Y_id=1 ary[38]=現在秒數(格式sec.usec =1530144600.12) 結束的秒數 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3Y_id=2 ary[37]= ary[38] - ary[39] evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3Y_id=3 ary[37] 取小數點之後二位數四捨五入 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3Y_id=4 ary[36]= ary[36] + ary[37] evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3Y_id=5 ary[33]= ary[33] + 1 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3Y_id=6 ary[34]= ary[34] + 1 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3Y_id=7 ary[35]= ary[36] / ary[33] evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3Y_id=8 ary[40]= ary[34] / ary[33] evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3Y_id=9 ary[35] 取小數點之後二位數四捨五入 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3Y_id=10 ary[40] 取小數點之後二位數四捨五入 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3Y_id=11 顯示猜中結果 共玩@a(33)次, 平均一題要解@a(40)次, 這次用@a(37)秒, 平均一題用@a(35)秒 , goto evt2_id =3 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3Y_id=12 ary[43]= ary[43] + 1 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3Y_id=13 ary[44]= ary[40] x ary[35]. [積分 = (ARY[40] 平均一題要解幾次) X (ARY[35] evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3N_id=1 ary[38]=(格式sec.usec =1530144600.12) 結束的秒數 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3N_id=2 ary[37]= ary[38] - ary[39] evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3N_id=3 ary[37] 取小數點之後二位數四捨五入 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3N_id=4 ary[41]= ary[31] evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3N_id=5 ary[31]= 0 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3N_id=6 ary[42]= ary[32] evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3N_id=7 ary[32]= 0 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3N_id=8 ary[34]= ary[34] + 1 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3N_id=9 ary[43]= ary[43] + 1 evt1_id =999 ,[evt2_ms=0]:evt2_id= 2 : evt3N_id=10 goto evt1_id =101 evt1_id =999 ,[evt2_ms=0]:evt2_id= 3 : evt3_id=1 goto evt1_id =2 evt1_id =999 ,[evt2_ms=0]:evt2_id= 11 : evt3_id=1 if (ary[1]==ary[21]) or (ary[1]==ary[22]) or (ary[1]=ary[23]) then [ary[31]=ary[31]+1;goto evt2_id =12] else [goto evt2_id =12] evt1_id =999 ,[evt2_ms=0]:evt2_id= 12 : evt3_id=1 if (ary[2]==ary[21]) or (ary[2]==ary[22]) or (ary[2]=ary[23]) then [ary[31]=ary[31]+1;goto evt2_id =13] else [goto evt2_id =13] evt1_id =999 ,[evt2_ms=0]:evt2_id= 13 : evt3_id=1 if (ary[3]==ary[21]) or (ary[3]==ary[22]) or (ary[3]=ary[23]) then [ary[31]=ary[31]+1;goto evt2_id =14] else [goto evt2_id =14] evt1_id =999 ,[evt2_ms=0]:evt2_id= 14 : evt3_id=1 if (ary[1]==ary[21]) then [ary[32]=ary[32]+1;goto evt2_id =15] else [goto evt2_id =15] evt1_id =999 ,[evt2_ms=0]:evt2_id= 15 : evt3_id=1 if (ary[2]==ary[22]) then [ary[32]=ary[32]+1;goto evt2_id =16] else [goto evt2_id =16] evt1_id =999 ,[evt2_ms=0]:evt2_id= 16 : evt3_id=1 if (ary[3]==ary[23]) then [ary[32]=ary[32]+1;goto evt2_id =17] else [goto evt2_id =17] evt1_id =999 ,[evt2_ms=0]:evt2_id= 17 : evt3_id=1 temp_str = temp_str = + @a(21)@a(22)@a(23) @a(31)N☑ @a(32)P☑ evt1_id =999 ,[evt2_ms=0]:evt2_id= 17 : evt3_id=2 goto evt2_id =2 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~以下是evt.txt文件 , $k1_array = array( array(1,1,0,1,2,3,200,300,0,0,1,1,0), array(2,1,0,1,2,3,200,300,0,0,15,1,0), array(101,1,0,1,2,3,200,300,0,0,12,3,0), array(999,1,0,1,2,3,200,300,0,0,2,10,0) );//ab $k2_array = array( array(16001,0,1,0,0,1,4,0,0,0,0), array(16103,0,1,0,0,5,1,0,0,0,0), array(16103,222,2,6,1,7,10,17,4,0,0), array(16103,222,3,0,0,21,1,0,0,0,0), array(16103,222,11,22,1,23,2,25,1,0,0), array(16103,222,12,26,1,27,2,29,1,0,0), array(16103,222,13,30,1,31,2,33,1,0,0), array(16103,222,14,34,1,35,2,37,1,0,0), array(16103,222,15,38,1,39,2,41,1,0,0), array(16103,222,16,42,1,43,2,45,1,0,0), array(16103,222,17,0,0,46,2,0,0,0,0), array(16112,0,1,0,0,48,1,0,0,0,0), array(16112,222,2,0,0,49,5,54,1,0,0), array(16112,222,3,55,1,56,1,57,1,0,0), array(16114,0,1,0,0,58,13,0,0,0,0) );//ab $k4_array = array( array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(4,8,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,33,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(12,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,1,0,0,0,0,14,0,0,0,0,3,0,0,0,0,19,0,0,0,0), array(10,6,38,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,37,38,2,39,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,36,36,1,37,0,0,0,0,0,0), array(7,0,0,0,0,0,33,33,1,1,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,34,34,1,1,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,35,36,4,33,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,40,34,4,33,0,0,0,0,0,0), array(23,8,35,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(23,8,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(5,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,34,34,1,1,0,0,0,0,0,0,0,0,0,0,0), array(12,101,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(12,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,2,0,0,0,0,1,1,1,0,0,3,3,3,0,0,21,22,23,0,0), array(7,0,0,0,0,0,31,31,1,1,0,0,0,0,0,0,0,0,0,0,0), array(3,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,2,0,0,0,0,2,2,2,0,0,3,3,3,0,0,21,22,23,0,0), array(7,0,0,0,0,0,31,31,1,1,0,0,0,0,0,0,0,0,0,0,0), array(3,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,2,0,0,0,0,3,3,3,0,0,3,3,3,0,0,21,22,23,0,0), array(7,0,0,0,0,0,31,31,1,1,0,0,0,0,0,0,0,0,0,0,0), array(3,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,1,0,0,0,0,1,0,0,0,0,3,0,0,0,0,21,0,0,0,0), array(7,0,0,0,0,0,32,32,1,1,0,0,0,0,0,0,0,0,0,0,0), array(3,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,1,0,0,0,0,2,0,0,0,0,3,0,0,0,0,22,0,0,0,0), array(7,0,0,0,0,0,32,32,1,1,0,0,0,0,0,0,0,0,0,0,0), array(3,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,1,0,0,0,0,3,0,0,0,0,3,0,0,0,0,23,0,0,0,0), array(7,0,0,0,0,0,32,32,1,1,0,0,0,0,0,0,0,0,0,0,0), array(3,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(14,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0), array(3,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(11,0,2,1,1,19,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,21,19,6,100,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,23,19,5,10,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,24,19,6,10,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,22,24,5,10,0,0,0,0,0,0,0,0,0,0,0), array(3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(5,9,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,2,0,0,0,0,21,21,22,0,0,3,3,3,0,0,22,23,23,0,0), array(5,9,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(12,999,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(10,6,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(26,1,0,0,0,0,1,10,0,9,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,11,1,3,100,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,12,2,3,10,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,13,11,1,12,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,14,13,1,3,0,0,0,0,0,0), array(7,0,0,0,0,0,15,14,5,2,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,16,14,5,3,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,40,34,4,33,0,0,0,0,0,0), array(14,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(12,101,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) );//ab $k5_array = array( array(2,1,2) );//ab $string_array = array( array(1,'@a(4)@a(5)@a(6) 3N☒ %2=@a(15) %3=@a(16)</br>'), array(2,'@a(21)@a(22)@a(23) @a(31)N☑ @a(32)P☑</br>'), array(3,'<div style="position:relative;text-align: center;float:right;"> <img src="https://lh3.googleusercontent.com/07X_QFWnulhZXPWJLAMkLT-WGIuvCTo8n-PtjartNiJk3cJEjHzOy60ysJCGiLWeezU6pQPSCbmlOhasorEljfHBVWBaChd7KYtVhCCwsS_2roeGIIEv5h-Qu8MFixlv6-uXYxnQTA=w400" style="position:relative;text-align:center;float:right;width:25vw;height:40vh;" /> <a style="font-size:4 rem;color:red;position:absolute; top:70%;left:28%;transform: translate(-50%, -50%);" >@a(21)</a> <a style="font-size:4 rem;color:red;position:absolute; top:70%;left:50%;transform: translate(-50%, -50%);" >@a(22)</a> <a style="font-size:4 rem;color:red;position:absolute; top:70%;left:72%;transform: translate(-50%, -50%);" >@a(23)</a> </div> <div>play_times=@a(33), input_times=@a(40), sec=@a(37), avg_Sec=@a(35)</div> <div>共玩@a(33)次, 平均一題要解@a(40)次, 這次用@a(37)秒, 平均一題用@a(35)秒</div> <div style="text-align:left;" >@s(1)</div>'), array(8,'<div style="position:relative;text-align:center;float:right;"> <img src="https://lh3.googleusercontent.com/07X_QFWnulhZXPWJLAMkLT-WGIuvCTo8n-PtjartNiJk3cJEjHzOy60ysJCGiLWeezU6pQPSCbmlOhasorEljfHBVWBaChd7KYtVhCCwsS_2roeGIIEv5h-Qu8MFixlv6-uXYxnQTA=w400" style="position:relative;text-align:center;float:right;width:25vw;height:40vh;" /> <a style="position:absolute;top:70%;left:28%;transform: translate(-50%, -50%);font-size:4 rem;color:black;text-align:left;" >@a(21)</a> <a style="position:absolute;top:70%;left:50%;transform: translate(-50%, -50%);font-size:4 rem;color:black;text-align:left;" >@a(22)</a> <a style="position:absolute;top:70%;left:72%;transform: translate(-50%, -50%);font-size:4 rem;color:black;text-align:left;" >@a(23)</a> </div> <div style="text-align:left;" ><a style="padding:0px;color:black;" >input ?</a><input type="number" name="input1" max="999" style="background-color: #EEE8AA;" /></div> <div style="text-align:left;padding:0px;" ><a style="padding:0px;color:black;" >@s(1)</a></div> <div style="text-align:left;padding:0px;" ><a style="padding:0px;color:black;" >N=number P=position %=modulo ☒=wrong ☑=Right</a></div> <div style="text-align:left;padding:0px;" ><a style="padding:0px;color:black;" >N=數字 P=位置 (%2=0 除2餘0) ☒=錯 ☑=對</a></div>'), array(9,'Please enter three non-repeating numbers, for example, 123, 456, 789, 012, for example, the error is 0, 001, 222, 779, 999</br> 請輸入三個不重復的的數字, 例如正確是123,456,789,012 , 例如錯誤是0, 001,222,779,999 ') );//ab $talk_array = array( array(2,0,'Enter your choice ? 輸入你的選擇 ? '), array(2,1,'1@$2') );//ab $k1_array = array( array(1,1,0,1,2,3,200,300,0,0,1,1,0), array(2,1,0,1,2,3,200,300,0,0,15,1,0), array(101,1,0,1,2,3,200,300,0,0,12,3,0), array(999,1,0,1,2,3,200,300,0,0,2,10,0) );//ab $k2_array = array( array(16001,0,1,0,0,1,4,0,0,0,0), array(16103,0,1,0,0,5,1,0,0,0,0), array(16103,222,2,6,1,7,10,17,4,0,0), array(16103,222,3,0,0,21,1,0,0,0,0), array(16103,222,11,22,1,23,2,25,1,0,0), array(16103,222,12,26,1,27,2,29,1,0,0), array(16103,222,13,30,1,31,2,33,1,0,0), array(16103,222,14,34,1,35,2,37,1,0,0), array(16103,222,15,38,1,39,2,41,1,0,0), array(16103,222,16,42,1,43,2,45,1,0,0), array(16103,222,17,0,0,46,2,0,0,0,0), array(16112,0,1,0,0,48,1,0,0,0,0), array(16112,222,2,0,0,49,5,54,1,0,0), array(16112,222,3,55,1,56,1,57,1,0,0), array(16114,0,1,0,0,58,13,0,0,0,0) );//ab $k4_array = array( array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(4,8,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,33,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,34,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(12,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,11,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,1,0,0,0,0,14,0,0,0,0,3,0,0,0,0,19,0,0,0,0), array(10,6,38,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,37,38,2,39,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,36,36,1,37,0,0,0,0,0,0), array(7,0,0,0,0,0,33,33,1,1,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,34,34,1,1,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,35,36,4,33,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,40,34,4,33,0,0,0,0,0,0), array(23,7,35,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(23,7,40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(5,3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,34,34,1,1,0,0,0,0,0,0,0,0,0,0,0), array(12,101,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(12,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,2,0,0,0,0,1,1,1,0,0,3,3,3,0,0,21,22,23,0,0), array(7,0,0,0,0,0,31,31,1,1,0,0,0,0,0,0,0,0,0,0,0), array(3,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,2,0,0,0,0,2,2,2,0,0,3,3,3,0,0,21,22,23,0,0), array(7,0,0,0,0,0,31,31,1,1,0,0,0,0,0,0,0,0,0,0,0), array(3,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,2,0,0,0,0,3,3,3,0,0,3,3,3,0,0,21,22,23,0,0), array(7,0,0,0,0,0,31,31,1,1,0,0,0,0,0,0,0,0,0,0,0), array(3,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,1,0,0,0,0,1,0,0,0,0,3,0,0,0,0,21,0,0,0,0), array(7,0,0,0,0,0,32,32,1,1,0,0,0,0,0,0,0,0,0,0,0), array(3,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,1,0,0,0,0,2,0,0,0,0,3,0,0,0,0,22,0,0,0,0), array(7,0,0,0,0,0,32,32,1,1,0,0,0,0,0,0,0,0,0,0,0), array(3,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,1,0,0,0,0,3,0,0,0,0,3,0,0,0,0,23,0,0,0,0), array(7,0,0,0,0,0,32,32,1,1,0,0,0,0,0,0,0,0,0,0,0), array(3,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(3,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(14,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0), array(3,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(11,0,2,1,1,19,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,21,19,6,100,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,23,19,5,10,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,24,19,6,10,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,22,24,5,10,0,0,0,0,0,0,0,0,0,0,0), array(3,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(5,9,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(9,2,0,0,0,0,21,21,22,0,0,3,3,3,0,0,22,23,23,0,0), array(5,9,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(12,999,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(10,6,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(7,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(26,1,0,0,0,0,1,10,0,9,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,11,1,3,100,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,12,2,3,10,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,13,11,1,12,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,14,13,1,3,0,0,0,0,0,0), array(7,0,0,0,0,0,15,14,5,2,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,16,14,5,3,0,0,0,0,0,0,0,0,0,0,0), array(7,0,0,0,0,0,0,0,0,0,0,40,34,4,33,0,0,0,0,0,0), array(14,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0), array(12,101,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) );//ab $k5_array = array( array(2,1,2) );//ab $string_array = array( array(1,'@a(4)@a(5)@a(6) 0N=☑ 0P=☑ %2=@a(15) %3=@a(16)</br>'), array(2,'@a(21)@a(22)@a(23) @a(31)N=☑ @a(32)P=☑</br>'), array(3,'<div style="position:relative;text-align: center;float:right;"> <img src="https://lh3.googleusercontent.com/07X_QFWnulhZXPWJLAMkLT-WGIuvCTo8n-PtjartNiJk3cJEjHzOy60ysJCGiLWeezU6pQPSCbmlOhasorEljfHBVWBaChd7KYtVhCCwsS_2roeGIIEv5h-Qu8MFixlv6-uXYxnQTA=w400" style="position:relative;text-align:center;float:right;width:25vw;height:40vh;" /> <a style="font-size:4 rem;color:red;position:absolute; top:70%;left:28%;transform: translate(-50%, -50%);" >@a(21)</a> <a style="font-size:4 rem;color:red;position:absolute; top:70%;left:50%;transform: translate(-50%, -50%);" >@a(22)</a> <a style="font-size:4 rem;color:red;position:absolute; top:70%;left:72%;transform: translate(-50%, -50%);" >@a(23)</a> </div> <div>play_times=@a(33), avg_input=@a(40), sec=@a(37), avg_Sec=@a(35)</div> <div>共玩@a(33)次, 平均一題要解@a(40)次, 這次用@a(37)秒, 平均一題用@a(35)秒</div> <div style="text-align:left;" >@s(1)</div>'), array(8,'<div style="position:relative;text-align:center;float:right;"> <img src="https://lh3.googleusercontent.com/07X_QFWnulhZXPWJLAMkLT-WGIuvCTo8n-PtjartNiJk3cJEjHzOy60ysJCGiLWeezU6pQPSCbmlOhasorEljfHBVWBaChd7KYtVhCCwsS_2roeGIIEv5h-Qu8MFixlv6-uXYxnQTA=w400" style="position:relative;text-align:center;float:right;width:25vw;height:40vh;" /> <a style="position:absolute;top:70%;left:28%;transform: translate(-50%, -50%);font-size:4 rem;color:black;text-align:left;" >@a(21)</a> <a style="position:absolute;top:70%;left:50%;transform: translate(-50%, -50%);font-size:4 rem;color:black;text-align:left;" >@a(22)</a> <a style="position:absolute;top:70%;left:72%;transform: translate(-50%, -50%);font-size:4 rem;color:black;text-align:left;" >@a(23)</a> </div> <div style="text-align:left;" ><a style="padding:0px;color:black;" >input ?</a><input type="number" name="input1" max="999" style="background-color: #EEE8AA;" /></div> <div style="text-align:left;padding:0px;" ><a style="padding:0px;color:black;" >@s(1)</a></div> <div style="text-align:left;padding:0px;" ><a style="padding:0px;color:black;" >N=number P=position %=modulo ☑=Right</a></div> <div style="text-align:left;padding:0px;" ><a style="padding:0px;color:black;" >N=數字 P=位置 (%2=0 除2餘0) ☑=對</a></div>'), array(9,'Please enter three non-repeating numbers, for example, 123, 456, 789, 012, for example, the error is 0, 001, 222, 779, 999</br> 請輸入三個不重復的的數字, 例如正確是123,456,789,012 , 例如錯誤是0, 001,222,779,999 ') );//ab $talk_array = array( array(2,0,'Enter your choice ? 輸入你的選擇 ? '), array(2,1,'1@$2') );//ab