Allow splitting win conditions in multiple parts

This commit is contained in:
blinry 2020-12-22 12:13:40 +01:00
parent 04e48a8bf2
commit 9cfbd9ff96
3 changed files with 25 additions and 19 deletions
levels/time-machine

View file

@ -38,8 +38,11 @@ git branch -d main
[win]
# Is the child still there, and is the lion not hungry?
{ git ls-tree --name-only -r HEAD | grep child; } && { git show HEAD:cage/lion | grep -v "very hungry"; }
# Is the child still there?
git ls-tree --name-only -r HEAD | grep child
# Is the lion not hungry?
git show HEAD:cage/lion | grep -v "very hungry"
[congrats]