More polish, hide unfinished chapters/levels

This commit is contained in:
blinry 2021-01-13 17:30:32 +01:00
parent be45b82e41
commit 5df4932ad5
19 changed files with 48 additions and 55 deletions

View file

@ -1,18 +1,23 @@
title = Making copies
title = Making backups
cards =
[description]
One month later, you're working on an essay about cats.
You've started making backup copies of your essay regularly - you can look at them by clicking on them!
Your current version, essay4.txt, needs one more line
You think that you're almost done - your current version, just needs one more line!
[congrats]
Okay, this works. But you're a bit worried that two weeks from now, you'll have hundreds of copies of your essay, and it will be hard to keep track of all of them.
Okay, this kind of works.
And especially when working with other people, sending copies back and forth doesn't seem ideal. Let's look at another way to do this!
But you're a bit worried that two weeks from now, you'll have hundreds of copies of your essay, and it will be hard to keep track of all of them.
And especially when working with other people, sending copies back and forth doesn't seem ideal.
You wonder what would be a better way to do this.
[setup]
@ -20,7 +25,7 @@ rm -rf .git
echo "~ Why cats are the best pets ~
(I still need to write this.)" >> essay1.txt
(I still need to write this.)" >> essay.txt
echo "~ Why cats are the best pets ~
@ -31,11 +36,11 @@ echo "~ Why cats are the best pets ~
echo "~ Why cats are the best pets ~
- They live longer than goldfish.
- Their little paws are super cute." >> essay3.txt
- Their little paws are super cute." >> essay2_final.txt
cp essay3.txt essay4.txt
cp essay2_final.txt essay2_really_final.txt
[win]
# Add two more lines to essay4.txt!
test "$(cat essay4.txt | wc -l )" -ge 6
# Add another line to essay2_really_final.txt!
test "$(cat essay2_really_final.txt | wc -l )" -ge 5

View file

@ -9,8 +9,6 @@ A friend has asked you to help with an essay about hobbies! She has already star
"Thanks, these are some really nice hobbies! Hope we can do that together soon!"
You're still pretty confused by everything that's going on. The next day, you decide to enroll in time travel school!
[setup]
rm -rf .git

View file

@ -1,15 +1,15 @@
title = A normal day
title = Living dangerously
cards =
[description]
You're working on an essay about goldfish! Your current version is already quite nice, but needs a bit more work.
So you're working on an essay about goldfish! Your current version is already quite nice, but needs a bit more work.
[congrats]
Suddenly, your cat jumps on your keyboard, deletes what you've written, and runs away! Oh no. :( Just look at it now! All your hard work, destroyed!
Suddenly, your cat jumps on your keyboard, deletes what you've written, and runs away! Oh no. Just look at it now! All your hard work, destroyed!
You decide to be more careful in the future.
You clearly need a better solution.
(Click "Next Level" as soon as you're ready!)
@ -17,7 +17,7 @@ You decide to be more careful in the future.
rm -rf .git
echo "~ Why are the best pets ~
echo "~ Why goldfish are the best pets ~
- They are pretty.
- They don't pee on the carpet.
@ -29,7 +29,7 @@ It's small, black, and very cute!" > cat
[actions]
test "$(cat essay.txt | wc -l )" -ge 7 && echo "~ Why goldfish are the best pets ~
test "$(cat essay.txt | wc -l )" -ge 6 && echo "~ Why goldfish are the best pets ~
- asdijwrlj
- they
@ -40,5 +40,5 @@ test "$(cat essay.txt | wc -l )" -ge 7 && echo "~ Why goldfish are the best pets
[win]
# Add two more lines to essay.txt!
test "$(cat essay.txt | wc -l )" -ge 7
# Add another line to essay.txt!
test "$(cat essay.txt | wc -l )" -ge 6

View file

@ -3,6 +3,8 @@ cards = config-name commit-auto checkout
[description]
You're still pretty confused by everything that's going on. The next day, you decide to enroll in time travel school!
Your time travel teacher welcomes you: "Hello there! Wanna tell us your name?"
[setup]
@ -18,7 +20,8 @@ echo "~ Why do you want to learn how to use time machines? ~
[actions]
test "$(git config user.name)" != "You" && hint "Hey $(git config user.name), welcome to time travel school!"
test "$(git config user.name)" != "You" && cat form | grep -v Signature && echo "
Signature: $(git config user.name)" >> form
[win]
@ -30,6 +33,6 @@ git show main:form | grep '\[[xX]\]'
[congrats]
"We're glad to have you! See how the commit now includes your name?
"We're so glad to have you!
Git can help you fix problems in the past! It allows you to collaborate with other students of time travel! It's really powerful, and it's really popular! I'll see you for your first lesson tomorrow!"