{"id":873881,"student_id":10,"content":"from game import *\nfrom random import choice, randrange\n\nset_backdrop('bg.jpg')\n\nadjs = [\n '無盡', '絕望', '超越', '黑暗', '神秘', \n '永恆', '狂暴', '傳說', '輝煌', '終極', \n '毀滅', '潛藏', '禁忌', '兇猛', '不朽', \n '燃燒', '幽暗', '深淵', '蛻變', '迷失'\n]\n\nnouns = [\n '劍', '炮', '甲', '刃', '弓', '心', '魂', '拳',\n '深淵', '聖靈', '天罰', '永夜', '黑暗'\n '破滅', '力量', '煉獄', '眷顧', '命運', \n '災厄', '幻影', '怒火', '巨龍', '夢魘', \n '天啟', '祕密', '時間', '祭壇', '影子', \n '劫難', '靈魂', '暴風', '終焉', '鐵拳'\n]\n\nverbs = [\n '降臨', '咆哮', '斬擊', '展現', '復仇', \n '挑戰', '侵襲', '旋風', '侵蝕', '蘇醒', \n '輪回', '獻祭', '驅逐', '破碎', '轉變', \n '擊潰', '瘋狂', '彌漫', '撕裂', '召喚', \n '震顫', '封印', '淨化', '鎖鏈', '凝聚'\n]\n\n#技能一:形容詞 + 名詞\ndef type_1():\n return choice(adjs) + choice(nouns)\n \n#技能二:名詞 + 名詞\ndef type_2():\n return choice(nouns) + 'の' + choice(nouns)\n\n#技能三:技能一 + 動詞\ndef type_3():\n return type_1() + '之' + choice(verbs)\n \n#技能四:技能二 + 動詞\n\n\n#技能五:技能一 + 技能三\n\n \n# 測試使用\nfor i in range(100):\n print(type_1())\n\n#從技能組中隨機挑選一個\nskills = [type_1(), type_2(), type_3()]\nsk = choice(skills)\n\ndef loop():\n draw_text(sk, 50, 50, 'white', 60)\nforever(loop)\n\n","created_at":"2024-10-28T12:47:08.185+08:00","updated_at":"2024-10-28T15:02:43.102+08:00","name":"中二技能產生器(預設版)","language":"python","screenshot":{"url":"https://cdn7.koding.school/uploads/project/screenshot/873881/d7f72eb85f77b49e3fb4f79f33aa33bb.jpg"},"parent_id":4,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":7,"hashid":"yeys4prn2","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":19114296,"file_name":"bg.jpg","project_id":873881,"asset_id":788039,"created_at":"2024-10-28T12:47:36.294+08:00","updated_at":"2024-10-28T12:47:36.294+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦