finished the mechanism for setting the language

This commit is contained in:
Luca Canali 2021-09-08 17:00:51 +02:00
parent 705cc849c2
commit 50ee071f0e
214 changed files with 94 additions and 10 deletions
levels/en_EN/intro

42
levels/en_EN/intro/risky Normal file
View file

@ -0,0 +1,42 @@
title = Living dangerously
cards =
[description]
So you have decided to apply for time travel school, to learn how to use this time machine called "Git"!
How exciting!
You're almost done with the paperwork! You just need to fill in one more reason why you want to learn Git.
[congrats]
Suddenly, your cat jumps on the table, snatches away the form, and runs away! Oh no. All your hard work, gone!
You clearly need a better solution.
(Click "Next Level" as soon as you're ready!)
[setup]
rm -rf .git
echo "~ Why I want to learn Git ~
- So that I can undo mistakes
- To track my projects over time" >> form.txt
[actions]
test "$(cat form.txt | wc -l )" -ge 5 && echo "(Has been stolen by your cat.)
" > form.txt
[win]
# Add another line to form.txt!
test "$(cat form.txt | wc -l )" -ge 5