fix: update quest [cast]

This commit is contained in:
Chen, Tai-Lin committed 2024-07-03 00:53:55 +08:00
1 parent 3deabb25a9
commit 462f17a779
2 files changed
+10 -149

No files matched your search

+10 -18
View File
@@ -3,23 +3,23 @@ instruction: |
在這個關卡中,你將會學到:
1. 如何使用 `echo` 指令
準備好就輸入 `echo start` 開始吧!
按下中間的 `start` 按鈕來開始這個關卡。
requirements:
- get-started
stages:
- id: start
task: 輸入 `echo start` 來開始教程
task: 按下 `start` 按鈕開始
condition:
output:
- ^start$
- start
responses:
- content:
- 你剛才使用的指令叫做 `echo`。
- '`echo` 指令可以將後方接續的文字輸出到終端機上。'
- 例如你輸入 `echo Hello`,終端機就會顯示 `Hello`。
- 你可以試著輸入 `echo` 並在後面加上一些文字,然後按下 Enter 鍵,就可以看到終端機上顯示了你剛才輸入的文字。
- content: |
還記得第一關使用的指令 `echo` 嗎?
`echo` 指令可以將後方接續的文字輸出到終端機上。
例如你輸入 `echo Hello`,終端機就會顯示 `Hello`。
你可以試著輸入 `echo ` 並在後面加上一些文字,然後按下 Enter 鍵,就可以看到終端機上顯示了你剛才輸入的文字。
hints:
- ➤ 輸入 `echo` 並在後面加上一些文字
- ➤ 例如:`echo example`
@@ -30,7 +30,7 @@ stages:
- start
condition:
command:
- ^echo .*
- echo .*
responses:
- content:
- 你應該可以看到終端機上顯示了你在 `echo` 指令後面的文字。
@@ -59,17 +59,9 @@ stages:
responses:
- type: narrative
content:
- 在 `echo` 後面還需要加上一些文字
- 在 `echo ` 後面還需要加上 `How are you?`
responses:
- content:
- 你成功的在終端機上顯示了 `How are you?`。
- 相信你已經了解如何使用 `echo` 指令來顯示文字了。
- 之後如果要在終端機顯示文字,記得可以使用 `echo` 指令。
exceptions:
- repeatable: true
condition:
command:
- ' '
hints:
- '!! 請勿使用全形空格 !!'