fix: remove order in game schema

This commit is contained in:
Chen, Tai-Lin authored and wancat committed 2023-10-29 17:41:38 +08:00
1 parent f864cecfa4
commit b4a37f7606
7 files changed
+45 -34

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ COPY ./packages/container/package.json ./yarn.lock ./
RUN yarn install --modules-folder /usr/src/node_modules
ENV NODE_PATH=/usr/src/node_modules
COPY ./packages/container /usr/local/lib/container
COPY ./quests/.includes/zshrc /etc/zshrc
COPY ./quests/.includes/zshrc /etc/zsh/zshrc
ENV USERNAME=commander
-1
View File
@@ -1,5 +1,4 @@
title: Hello, Linux World!
order: 1
instruction: |
你身在一個漆黑的房間裡,沒有任何的光線或聲音。你想不起來為什麼自己會來到這裡。但你的腦中隱約感到某個聲音跟你說:
+7 -4
View File
@@ -1,10 +1,14 @@
title: Hello, Linux World!
order: 2
title: Learn to spell
instruction: |
你身在一個漆黑的房間裡,沒有任何的光線或聲音。你想不起來為什麼自己會來到這裡。但你的腦中隱約感到某個聲音跟你說:
「輸入 echo Hello World!」
conditions:
pwd_home: &pwd_home
pwd:
- '^/home/commander$'
stages:
- id: helloworld
task: 使用 `echo Hello World!` 召喚精靈
@@ -38,8 +42,7 @@ stages:
requirements:
- helloworld
condition:
pwd:
- '^/home/commander$'
<<: *pwd_home
command:
- ls
responses: