oh-my-git/levels/files/files-add

33 lines
911 B
Text
Raw Normal View History

2020-11-13 11:21:36 +01:00
title = Interior design
cards = file-new file-delete
2020-11-13 11:21:36 +01:00
[description]
2021-02-09 15:50:14 +01:00
Now that your room looks tidy, you can start to unpack your stuff. You brought two new pieces of furniture with you and with a bright smile,
you see that their colors match the color of your bed!
2021-02-09 15:50:14 +01:00
Build up your two pieces of furniture by playing the touch card.
Then name your furniture - you can choose whatever you like.
Make sure the colors match! You can find the bed's color in it's description.
Don't forget to add a color and description to your new furnitures, too!
2020-11-13 11:21:36 +01:00
[setup]
2021-02-09 15:50:14 +01:00
echo A yellow cozy bed. > bed
2020-11-13 11:21:36 +01:00
[win]
2021-02-09 15:50:14 +01:00
# Add two more pieces of furniture
NUM_FILES="$(ls | wc -l)"
test "$NUM_FILES" -ge 3
# Make sure the colors match your bed's color.
NUM_FILES="$(ls | wc -l)"
YELLOW_FILES="$(grep -l yellow * | wc -l)"
2021-02-09 15:50:14 +01:00
test "$NUM_FILES" -ge 2 && test "$YELLOW_FILES" = "$NUM_FILES"
2020-11-13 11:21:36 +01:00
[congrats]
Don't you immediately feel more at home?