Tip:
Highlight text to annotate it
X
Liquid Lights is a tangible fun version of the classic game Lights Out.
The rules are pretty simple. In the starting position, some of the lights
may be on and the rest off. The goal is to get all the lights on.
Clicking a light flips it, and flips its adjacent lights.
On becomes off, and off becomes on.
For example, pressing the center button will turn it on, and turn its neighbors on.
Now, pressing this button will flip it and flip its neighbors.
Notice that these two lights were on, and now they are off, and these two were off,
and now they're on.
Now we press another button, reaching this position.
From here, it's pretty simple.
We press the corner, making all the lights on, and winning the game.
I'm Anis. And I'm Max.
And this is our game.
In our game of Lights Out, the buttons are water cups.
To push a button, you put your hand in the water while wearing a conductive wristband.
The next move I make will be the corner, which will turn all lights on, and then they'll
blink, letting me know that I've won the game.
To get a new board, I can press the new game button.
This level is hard.
If you get stuck, all you need is money (insert a coin to get a hint).
The flashing lights indicate which buttons you need to push to win the game.
So here, I'll push these buttons... and win.
To get the best experience, we recommend playing in the dark.
For this project, we used 9 shot cups filled with water as buttons, and 9 LEDs for the
lights.
We also used Epoxy to make the cups waterproof, after we drilled holes in their bottom for
the wires.
We used a plastic box and some cardboard to serve as a container
We used Arduino Leonardo which has 20 input/output pins.
9 pins were used as analog inputs for human touch to record button presses on the water.
9 pins were used as digital output to control the lights.
1 digital input for the new level button click,
and lastly, one analog input for the infrared coin reader.
Here you can see how the wires are connected inside the box.
We used some conductive fabric to make a conductive wristband that you wear to play the game.
We used a new level button,
And an Infrared sensor that is used to detect when a coin is inserted so that we can show
you a hint.
We used 2 breadboards, some resistors, and LOTS of wires.
All the code runs on Arduino, and is available on Github.
Thanks for listening!