mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
Map init position, pwd display, instruct speed
This commit is contained in:
1 parent
b41e67ee0b
commit
849e669147
3 files changed
+4
-4
No files matched your search
@@ -74,7 +74,7 @@ const genOption = (nodes, edges) => ({
|
||||
symbolSize: [fullwidth / 13, fullwidth / 30],
|
||||
roam: 'move',
|
||||
zoom: 1.5,
|
||||
center: ['150%', '50%'],
|
||||
center: ['120%', '30%'],
|
||||
label: {
|
||||
show: true,
|
||||
fontSize: fullwidth / 90,
|
||||
|
||||
@@ -121,6 +121,6 @@ li.discovered {
|
||||
}
|
||||
|
||||
a.pwd {
|
||||
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
|
||||
box-shadow: 0 0 40px rgba(255, 255, 0, 20);
|
||||
}
|
||||
</style>
|
||||
@@ -48,10 +48,10 @@ async function handleCommand(command) {
|
||||
|
||||
async function handleResponse({ responses, hints, end }) {
|
||||
if (responses) {
|
||||
await printResponses(responses, 60)
|
||||
await printResponses(responses, 120)
|
||||
}
|
||||
if (hints) {
|
||||
await printHints(hints, 60)
|
||||
await printHints(hints, 120)
|
||||
}
|
||||
if (end) {
|
||||
console.log(colorize('Quest completed!', 'blue'))
|
||||
|
||||
Reference in new issue
Block a user