{"id":25833,"student_id":10,"content":"setBackdrop(\"#D9B06A\");\n\nvar text_1 = '';\nvar text_2 = '';\nvar text_3 = '';\nvar text_4 = '';\nvar text_5 = '';\nvar text_6 = '';\n\nvar dd = createSprite({\n x: 320,\n y: 200,\n scale: 1.2,\n costumes: [\"123.png\"]\n});\nvar q1 = createSprite({\n x: 200,\n y: 100,\n scale: 0.7,\n costumes: [\"1.png\"],\n hidden: true\n});\nvar q2 = createSprite({\n x: 200,\n y: 250,\n scale: 0.7,\n costumes: [\"10.png\"],\n hidden: true\n});\nvar q3 = createSprite({\n x: 200,\n y: 400,\n scale: 0.7,\n costumes: [\"100.png\"],\n hidden: true\n});\nvar q4 = createSprite({\n x: 450,\n y: 100,\n scale: 0.7,\n costumes: [\"1000.png\"],\n hidden: true\n});\nvar q5 = createSprite({\n x: 450,\n y: 250,\n scale: 0.7,\n costumes: [\"10000.png\"],\n hidden: true\n});\nvar q6 = createSprite({\n x: 450,\n y: 400,\n scale: 0.7,\n costumes: [\"100000.png\"],\n hidden: true\n});\n\nvar jj = createSprite(\"123.gif\");\nvar stair = 0;\nforever(function () {\n print(text_1, q1.x - 75, q1.y + 30, \"white\", 45);\n print(text_2, q2.x - 75, q2.y + 30, \"white\", 45);\n print(text_3, q3.x - 75, q3.y + 30, \"white\", 45);\n print(text_4, q4.x - 75, q4.y + 30, \"white\", 45);\n print(text_5, q5.x - 75, q5.y + 30, \"white\", 45);\n print(text_6, q6.x - 75, q6.y + 30, \"white\", 45);\n \n if (stair == 1) {\n print(\"點擊埃及數字來輸入文字\", 60, 10, \"white\", 45)\n }\n if (stair == 0) {\n print(\"左邊是古埃及數字的表示方式,請記好他們\", 10, 350, \"black\", 33)\n print(\"(點擊螢幕來開始)\", 150, 100, \"black\", 33)\n }\n});\n\nwhen(\"click\", function () {\n if(stair == 1){\n return\n }\n dd.destroy()\n jj.destroy()\n stair++\n q1.hidden = false;\n q2.hidden = false;\n q3.hidden = false;\n q4.hidden = false;\n q5.hidden = false;\n q6.hidden = false;\n});\n\nq1.answer = 1;\nq2.answer = 10;\nq3.answer = 100;\nq4.answer = 1000;\nq5.answer = 10000;\nq6.answer = 100000;\n\nq1.text = '';\nq2.text = '';\nq3.text = '';\nq4.text = '';\nq5.text = '';\nq6.text = '';\n\nwhen('touched', [q1, q2, q3, q4, q5, q6], function (q) {\n var answer = prompt(\"請輸入阿拉伯數字\");\n if (answer == q.answer) {\n sound.play(\"OOO.mp3\");\n } else {\n sound.play(\"XXX.mp3\"); \n }\n q.text = answer;\n});\n\n// q1.when(\"click\", function () {\n// var answer = prompt(\"請輸入阿拉伯數字\");\n// if (answer == 1) {\n// sound.play(\"OOO.mp3\");\n// text_1 = \"1\";\n// } else {\n// sound.play(\"XXX.mp3\");\n// text_1 = \"\"; \n// }\n// });\n// q2.when(\"click\", function () {\n// var answer = prompt(\"請輸入阿拉伯數字\");\n// if (answer == 10) {\n// sound.play(\"OOO.mp3\");\n// text_2 = \"10\";\n// } else {\n// sound.play(\"XXX.mp3\");\n// text_2 = \"\"; \n// }\n// });\n// q3.when(\"click\", function () {\n// var answer = prompt(\"請輸入阿拉伯數字\");\n// if (answer == 100) {\n// sound.play(\"OOO.mp3\");\n// text_3 = \"100\";\n// } else {\n// sound.play(\"XXX.mp3\");\n// text_3 = \"\"; \n// }\n// });\n// q4.when(\"click\", function () {\n// var answer = prompt(\"請輸入阿拉伯數字\");\n// if (answer == 1000) {\n// sound.play(\"OOO.mp3\");\n// text_4 = \"1000\";\n// } else {\n// sound.play(\"XXX.mp3\");\n// text_4 = \"\"; \n// }\n// });\n// q5.when(\"click\", function () {\n// var answer = prompt(\"請輸入阿拉伯數字\");\n// if (answer == 10000) {\n// sound.play(\"OOO.mp3\");\n// text_5 = \"10000\";\n// } else {\n// sound.play(\"XXX.mp3\");\n// text_5 = \"\"; \n// }\n// });\n// q6.when(\"click\", function () {\n// var answer = prompt(\"請輸入阿拉伯數字\");\n// if (answer == 100000) {\n// sound.play(\"OOO.mp3\");\n// text_6 = \"100000\";\n// } else {\n// sound.play(\"XXX.mp3\");\n// text_6 = \"\"; \n// }\n// });","created_at":"2018-03-25T16:24:51.893+08:00","updated_at":"2019-11-11T08:26:14.110+08:00","name":"3","language":"javascript","screenshot":{"url":"https://cdn6.koding.school/uploads/project/screenshot/25833/d3f79754d3f5aebe6d91dd8c6982b5a9.jpg"},"parent_id":22220,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":305,"hashid":"36ysdg2y","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":479554,"file_name":"XXX.mp3","project_id":25833,"asset_id":43252,"created_at":"2018-03-25T16:24:51.900+08:00","updated_at":"2018-03-25T16:24:51.900+08:00"},{"id":479555,"file_name":"OOO.mp3","project_id":25833,"asset_id":43251,"created_at":"2018-03-25T16:24:51.902+08:00","updated_at":"2018-03-25T16:24:51.902+08:00"},{"id":479556,"file_name":"100000.png","project_id":25833,"asset_id":51004,"created_at":"2018-03-25T16:24:51.904+08:00","updated_at":"2018-03-25T16:24:51.904+08:00"},{"id":479557,"file_name":"10000.png","project_id":25833,"asset_id":51003,"created_at":"2018-03-25T16:24:51.906+08:00","updated_at":"2018-03-25T16:24:51.906+08:00"},{"id":479558,"file_name":"1000.png","project_id":25833,"asset_id":51002,"created_at":"2018-03-25T16:24:51.907+08:00","updated_at":"2018-03-25T16:24:51.907+08:00"},{"id":479559,"file_name":"100.png","project_id":25833,"asset_id":50944,"created_at":"2018-03-25T16:24:51.908+08:00","updated_at":"2018-03-25T16:24:51.908+08:00"},{"id":479560,"file_name":"10.png","project_id":25833,"asset_id":50943,"created_at":"2018-03-25T16:24:51.910+08:00","updated_at":"2018-03-25T16:24:51.910+08:00"},{"id":479561,"file_name":"1.png","project_id":25833,"asset_id":50937,"created_at":"2018-03-25T16:24:51.911+08:00","updated_at":"2018-03-25T16:24:51.911+08:00"},{"id":479562,"file_name":"123.gif","project_id":25833,"asset_id":50933,"created_at":"2018-03-25T16:24:51.913+08:00","updated_at":"2018-03-25T16:24:51.913+08:00"},{"id":479563,"file_name":"123.png","project_id":25833,"asset_id":50873,"created_at":"2018-03-25T16:24:51.914+08:00","updated_at":"2018-03-25T16:24:51.914+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦