Sharing Information
Level 4: Neighbours
In logic, things are often connected to their “Neighbours.” Just like in a neighborhood, what happens next door can change everything!
The Goal: Use proximity and neighbor rules to find the right configuration.
The Helpful Neighbor
A bulb might only turn on if its neighbor is also on.
Clue 1: “The Red light is ON.” Clue 2: “Red ON lights have a Blue ON neighbor.”
The Red light is ON.
Red ON lights have a Blue ON neighbor.
The Middle Man
Sometimes one bulb helps two neighbors at once!
Clue 1: “Exactly two Purple lights are ON.” Clue 2: “Purple ON lights have a Yellow ON neighbor.”
Exactly two Purple lights are ON.
Purple ON lights have a Yellow ON neighbor.
The Neighborhood Party
Let’s put all the neighbor rules together.
Clue 1: “Exactly one Green light is ON.” Clue 2: “Green ON lights have a Red ON neighbor.” Clue 3: “Exactly two Blue lights are ON.”
Exactly one Green light is ON.
Green ON lights have a Red ON neighbor.
Exactly two Blue lights are ON.
Neighborhood Hero! 🏘️
You’ve mastered how information and states share between neighbors.