diff --git a/quests/copy/game.yml b/quests/copy/game.yml index 15eda11..d48d0e8 100644 --- a/quests/copy/game.yml +++ b/quests/copy/game.yml @@ -9,6 +9,14 @@ requirements: - create stages: + - id: warning-01 + repeatable: true + condition: + command: + - ' ' + hints: + - '!! 請勿使用全形空格 !!' + - id: start task: 輸入 `echo start` 來開始 condition: diff --git a/quests/create/game.yml b/quests/create/game.yml index 5842342..07d2d4f 100644 --- a/quests/create/game.yml +++ b/quests/create/game.yml @@ -10,6 +10,14 @@ requirements: - read stages: + - id: warning-01 + repeatable: true + condition: + command: + - ' ' + hints: + - '!! 請勿使用全形空格 !!' + - id: start task: 輸入 `echo start` 來開始 condition: diff --git a/quests/meta.yml b/quests/meta.yml deleted file mode 100644 index 5e7ed1b..0000000 --- a/quests/meta.yml +++ /dev/null @@ -1,18 +0,0 @@ -quests: - - get-started - - - cast - - explore - - - path - - - read - - - create - - - copy - - move - - - remove - - - hello-world diff --git a/quests/move/game.yml b/quests/move/game.yml index 413bc35..f694ae6 100644 --- a/quests/move/game.yml +++ b/quests/move/game.yml @@ -9,6 +9,14 @@ requirements: - create stages: + - id: warning-01 + repeatable: true + condition: + command: + - ' ' + hints: + - '!! 請勿使用全形空格 !!' + - id: start task: 輸入 `echo start` 來開始 condition: diff --git a/quests/path/game.yml b/quests/path/game.yml index 59de297..b01937f 100644 --- a/quests/path/game.yml +++ b/quests/path/game.yml @@ -31,7 +31,7 @@ stages: - 相對路徑是從目前所在的資料夾開始的路徑,而絕對路徑則是從根目錄開始的路徑。 - 請你先用 `ls` 指令查看這個資料夾中的檔案。 - - id: ls-~ + - id: ls task: 查看資料夾中的檔案 requirements: - start @@ -47,7 +47,7 @@ stages: - id: cd-folder1 task: 進入 `folder1` 資料夾 requirements: - - ls-~ + - ls condition: pwd: - ^/home/commander/folder1$ diff --git a/quests/remove/game.yml b/quests/remove/game.yml index d6532fc..4560ba3 100644 --- a/quests/remove/game.yml +++ b/quests/remove/game.yml @@ -13,6 +13,14 @@ requirements: - move stages: + - id: warning-01 + repeatable: true + condition: + command: + - ' ' + hints: + - '!! 請勿使用全形空格 !!' + - id: start task: 輸入 `echo start` 來開始 condition: