update quest 'helloworld'

This commit is contained in:
Chen, Tai-Lin committed 2023-11-02 12:13:00 +08:00
1 parent b0fa4b50f7
commit dd8987137d
2 files changed
+14 -14

No files matched your search

+11 -10
View File
@@ -1,21 +1,20 @@
title: Hello, Linux World! title: Hello, Linux World!
instruction: | instruction: |
你身在一個漆黑寂靜的地方。 你身在一個漆黑寂靜的地方,似乎失去了記憶。
你似乎失去了記憶。 你感到腦中有某個聲音跟你說:
你的感覺腦中有某個聲音跟你說:
使用 `echo [咒語]` 指令來朗誦以下咒語 使用 `echo [咒語]` 指令來朗誦以下咒語
「 Hello World! 」 「 help 」
stages: stages:
- id: helloworld - id: help
task: 輸入 `echo Hello World!` 來朗誦咒語 task: 輸入 `echo help` 來朗誦咒語
repeatable: false repeatable: false
condition: condition:
pwd: pwd:
- '^/home/commander$' - '^/home/commander$'
command: command:
- echo Hello World - echo [Hh]elp
responses: responses:
- type: narrative - type: narrative
content: content:
@@ -38,7 +37,7 @@ stages:
task: 搜索卷軸 task: 搜索卷軸
repeatable: false repeatable: false
requirements: requirements:
- helloworld - help
condition: condition:
pwd: pwd:
- '^/home/commander$' - '^/home/commander$'
@@ -59,7 +58,7 @@ stages:
hints: hints:
- 使用 `cat [檔案名稱]` 指令來查看檔案內容。 - 使用 `cat [檔案名稱]` 指令來查看檔案內容。
- 使用 `Tab` 鍵來取得指令提示。 - 使用 `Tab` 鍵來取得指令提示。
- 如果卡在未知的情況,按下 `Ctrl + C` 或 `q` 嘗試離開。 - 如果卡在未知的情況,按下 `Ctrl + C` 嘗試離開。
- id: read-forgotten-scroll - id: read-forgotten-scroll
task: 查看卷軸 task: 查看卷軸
@@ -77,6 +76,8 @@ stages:
content: content:
- 你找到的是一個被遺忘的卷軸,上面寫著解除封印的咒語。 - 你找到的是一個被遺忘的卷軸,上面寫著解除封印的咒語。
- 使用你已經知道的 `echo [咒語]` 指令來詠唱咒語。 - 使用你已經知道的 `echo [咒語]` 指令來詠唱咒語。
hints:
- 輸入 `echo Hello World` 來詠唱咒語。
- id: END - id: END
task: 解除封印 task: 解除封印
@@ -87,7 +88,7 @@ stages:
pwd: pwd:
- '^/home/commander$' - '^/home/commander$'
command: command:
- echo Unix, rise and guide me - echo [Hh]ello\s*[Ww]orld
responses: responses:
- type: narrative - type: narrative
content: content:
+3 -4
View File
@@ -1,10 +1,9 @@
曾經輝煌的王國 如今被陰霾壟罩 曾經輝煌的王國 如今被陰霾壟罩
Unix之力沉睡著 等待甦醒的時機 Unix之力沉睡著 等待復甦的時機
恢復王國的根基 那被遺忘的文明
必須不斷的學習 掌握古老的咒語 必須不斷的學習 掌握古老的咒語
恢復王國的根基 那被遺忘的文明
用指令念出咒語 Unix之力將甦醒 用指令念出咒語 Unix之力將甦醒
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
Unix, rise and guide me! Hello World
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~