Guess the Elf: Christmas Boolean Coding Activity

Play Guess the Elf to explore Boolean logic through a Christmas character puzzle. Start with all of the elf cards visible, read a condition, and turn matching cards face down. Continue through the clues until the remaining character answers the puzzle.

The printable includes everyday questions and code-like conditions, so you can choose the version that fits your learners. Children can work on true-or-false decisions first, then compare values and combine conditions using AND and OR. All four original puzzles and their answers are included below.

Guess the Elf Christmas Boolean coding activity

This post contains affiliate links. As an Amazon Associate, Our Family Code earns from qualifying purchases. Please see our Disclosure Policy for more details.

Download the Guess the Elf Workbook

Download the free Guess the Elf Boolean coding activity

Print the workbook and cut out the elf cards, or use a copy of the character sheet and mark eliminated choices. For movable cards, begin each puzzle with every character face up. Reset all of the cards before trying another puzzle so that an earlier clue does not affect the new game.

What Do the Boolean Symbols Mean?

A Boolean result is true or false. A comparison such as hairColor == “Brown” asks whether the character’s hair color matches the stated value. The symbol == means “is equal to,” and != means “is not equal to.” Read each comparison in words before combining it with another one.

AND requires both conditions to be true. OR requires at least one condition to be true, including when both are true. For example, hairColor == “Brown” OR hasHat == True matches a brown-haired elf, an elf with a hat, or an elf with both features.

The code-like examples are pseudocode for discussing the paper game. They are not complete scripts for a particular app. Use the feature categories intended by the original workbook, and agree on how the illustrations represent features such as a hat, rosy cheeks, or a hairstyle before starting.

How to Play the Elimination Game

Read one condition. Check it against each elf still face up. Work through the comparison first, then any AND or OR operator, rather than guessing which characters the whole line is meant to remove.

Turn a card face down when the full condition is true. The action flipCardOver() means eliminate that card from the remaining choices. A false result leaves the card in play for this instruction. The conditions name characters to remove, so a true result does not mean you found the answer.

Leave eliminated cards out. Evaluate the next instruction only against the cards still visible. Do not flip a face-down card back over when it matches another clue. The remaining group should stay the same size or become smaller as you work through the puzzle.

Check the final character. Explain why that elf survived every elimination condition before revealing the answer. If more than one remains, review the clues. If none remain, reset and look for a condition that was interpreted differently from the workbook.

Guess the Elf character board with 25 named elves

Choose a Question Format

For a younger or beginning learner, use the question-and-answer column in the workbook. Turn a question such as “Does your elf have brown hair? FALSE” into the statement “The elf we want does not have brown hair.” Then remove the cards that conflict with that information.

For learners ready for code-like notation, use the comparison and Boolean conditions. The original activity suggested the question format for K–3 and the code-like format for grades 3–8. Treat those ranges as starting points; reading confidence and familiarity with the operators are more useful guides when choosing support.

In a group, ask children to explain a card they would remove and one they would keep after the same instruction. That pair of explanations helps show whether they are evaluating the condition consistently, rather than copying another player’s choices.

Guess the Elf Puzzle 1

if hairColor == "Brown" OR hasHat == True: flipCardOver()
if hairColor != "Orange": flipCardOver()
if hasRosyCheeks == True: flipCardOver()

The first instruction removes elves with brown hair or hats. The second removes any remaining elf whose hair is not orange. The third removes remaining elves with rosy cheeks. Keep checking only the visible cards after each step.

In ordinary questions, the target has no brown hair, no hat, orange hair, and no rosy cheeks. The OR condition in the first line is false for the target, which means neither of its two parts is true.

Reveal puzzle 1 answer

Fritz. Using the workbook’s features, Fritz has orange hair, no hat, and no rosy cheeks, so none of these elimination conditions removes him.

Guess the Elf Puzzle 2

if gender != "Male" AND hasHat == True: flipCardOver()
if hairColor == "Black" OR hasRosyCheeks != True: flipCardOver()
if hasHat == True: flipCardOver()
if gender != "Female": flipCardOver()

Read the first line carefully: it eliminates an elf when the workbook’s category is not Male AND the elf has a hat. Both parts must be true for that line to remove a card. It does not say to eliminate every character matching either part separately.

Next, remove black-haired elves or elves without rosy cheeks, then remove remaining hat-wearing elves. The final line removes any remaining character not in the workbook’s Female category. The surviving character has no hat, has rosy cheeks, and does not have black hair.

For the first line’s question version, ask, “Is your elf in the not-Male category and wearing a hat?” A false answer to that compound question does not tell you that both parts are false. This phrasing follows the comparison in the code; asking whether the elf is male and wearing a hat would be a different test.

Reveal puzzle 2 answer

Sparkle. Sparkle remains after the hat, hair-color, rosy-cheek, and workbook-category checks.

Guess the Elf Puzzle 3

if hasHat != True: flipCardOver()
if gender == "Female" OR hairColor == "Orange": flipCardOver()
if hatColor != "Red" OR hasRosyCheeks == True: flipCardOver()

The first instruction keeps only hat-wearing elves in play. The second removes characters in the workbook’s Female category or with orange hair. The final instruction removes a remaining elf if the hat is not red or the elf has rosy cheeks.

To survive the last OR instruction, both elimination conditions must be false. That means the target’s hat is red and the target does not have rosy cheeks. Read this result alongside the earlier clues instead of checking the hat color alone.

Reveal puzzle 3 answer

Johnny. The character has a red hat, is not in the workbook’s Female category, does not have orange hair, and does not have rosy cheeks.

Guess the Elf Puzzle 4

if hasHat != True OR hatColor == "Green": flipCardOver()
if hasRosyCheeks != True: flipCardOver()
if hairColor == "Orange" AND hairStyle != "Pigtails": flipCardOver()
if hairColor == "Brown" OR hairColor == "Black": flipCardOver()

Remove elves without a hat or with a green hat, then remove those without rosy cheeks. The third line only removes an orange-haired elf when that elf also does not have pigtails. An orange-haired character with pigtails therefore survives that particular AND condition.

Finally, remove remaining characters with brown or black hair. For a card with no hat, treat hatColor as “None” if you are discussing its value; the first condition already eliminates it. Keeping the no-hat case explicit helps avoid arguments about an attribute that does not apply to a picture.

Reveal puzzle 4 answer

Trudy. Trudy has a non-green hat, rosy cheeks, and orange hair in pigtails, so she remains after these elimination steps.

Debug the Clues Together

Too many elves disappeared: check whether AND was treated as OR. A card matching only one part of an AND condition should stay in play for that line. Point to each part and say its true-or-false result before deciding whether the full condition is true.

An elf with both features stayed in an OR test: remember that OR is inclusive here. Matching both parts still makes the condition true. That card should be eliminated just as a card matching only one part would be.

A character returned to the game: make sure flipCardOver() is being used as elimination. Once a card is out, leave it out until you reset the entire puzzle. You can place removed cards in a separate pile if face-down cards are confusing.

Two players interpret a feature differently: pause and agree on the category before continuing. Write a short feature key if needed. An ambiguous picture is different from an incorrect Boolean rule, and identifying that distinction helps you decide what to clarify.

Create a New Guess the Elf Puzzle

Choose a target secretly and write a few conditions that eliminate other characters while keeping that target visible. Test the clues against the full board before giving them to a partner. Check not only that the target survives, but also that the other candidates are eventually removed.

Ask the partner to explain each elimination. If a clue removes the target or leaves several possible answers, revise that clue and test again from the full board. You can keep the first and revised versions to show which change made the instructions more useful.

You Might Also Like

Continue Boolean logic with Dress the Elf, try Frosty sequences, or practice clear instructions with Christmas LEGO building cards. Explore Pascal’s Triangle tree patterns for seasonal math, or find the new Scratch Christmas animation in our Christmas coding collection.

Get the Guess the Elf workbook

Save the Guess the Elf Boolean coding activity and printable

Meet Toni, the Maker Mom behind Our Family Code

A picture of Toni, owner and content creator of OurFamilyCode.com.

Hey there, I’m Toni! I’m a software engineer and Maker Mom that finds my joy in unleashing my children’s curiosity by exploring STEAM concepts with my fantastic five!

When I’m not chasing toddlers or raising tweens, you can find me tearing things up and putting them back together over here at Our Family Code.

I am the owner and content creator of multiple educational websites designed to increase access to STEAM & STEM education with a focus on teaching computer science and coding to kids of all ages!

The logo for Steamkidactivities.com
A picture of the logo for lodeofcode.com
toni gardner logo Play Guess the Elf with a free Boolean coding workbook. Explore AND, OR, comparisons, and elimination through four Christmas puzzles with expandable answers.
The logo for RocktheSteamTeam.org
The logo for Getmovingmama.com
The logo for Thiskidcanbake.com
our family code horizontal logo
The logo for the science kid site
The logo for Brandicionado.com

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top