https://punkx.org/unix-pipe-game/ The UNIX Pipe Card Game This is a card game for teaching kids how to combine unix commands through pipes. This game assumes the parent knows the basic unix commands: cat, grep, tail, head, wc, sort, uniq. The parent should show also show those commands in action the computer as well, if you do not have any UNIX system you can use jslinux in your browser. [deck] * print it yourself: unix-pipe-cards.pdf, unix-pipe-box.pdf * code: unix-pipe-game * author: github.com/jackdoe * co author: Jackie (11 yo) * contact: b0000@fastmail.com * price: SOLD OUT, but I have few decks left to give out to friends, if you are interested send me an email to b0000@fastmail.com, the price would be 20EUR as I printed only 50 decks. * license: CC BY 4.0 If you are a parent teaching your kid, and is exploring more tools to help you, I made few other card games: * programming time, which is a game to teach python and some more fundamental algorithms, from hash tables to RSA * 4917, a game to teach kids machine code and how the cpu works with memory and registers * programming for kids, a log of my journey of teaching my 11yo daughter how to code Example game round: task: print the most common line from a file, we need to first cat the file (in our case the file is card 03.txt), then sort it, uniq count it, then do numeric sort, then tail -1: cat 03.txt | sort | uniq -c | sort -n | tail -1 [example] RULES: > 0. The youngest player decides the objective: * Whoever has the smallest pipe chain to complete the task wins the round. * Whoever has the largest pipe chain to complete the task wins the round. > 1. The youngest players picks a task from the tasks card. You can not pick the same task twice. > 2. Shuffle the deck. > 3. Put the deck face down on the table. > 4. Going clockwise each player picks the top card from the deck. > 5. The player who's at turn now tries to complete the task. > 6. The first player who completes the task gets a point. > GOTO 1. TASKS * print the second line * print the second to last line * print the 7th line * print the most common line * print the least common line * count how many lines have "rises" * print the first line that has W in it * count the lines that have "in" in them * show two random lines * count the words on the last two lines * print the 7th and 8th line * count the lines with ! * count the lines without ! * make a command chain that does not print anything This is how the card decks look: [many-decks]