Lights Out by Brandon Diaz

Description
Lights Out is a game about a heroic peon at an unnamed electrical conglomerate! The countryside has experienced a major power outage, and it’s up to you to re-wire the grid and restore power.
The game is essentially a basic math puzzle combined with a “pipes” style grid. You install and remove power lines and resistor towers to make sure the houses get the correct amount of power.
Controls
Mouse only. Select a tool using the bar at the bottom of the screen, click on the grid to place it. Click on an existing piece of hardware to remove it.
Goals
I wanted to make something simple and polished, or, as polished as a Comp entry can be. During my last LudumDare, I overshot and ended up producing little more than a tech demo with some minor humor. This time around I wanted to make sure I actually built something I could call a “game”.
It may not be the most imaginative or complex thing in the world, but it feels significantly more refined than my last entry.
Issues
Untested in Firefox, please use a WebKit or Blink based browser for now. Chrome recommended.
In some cases a power line can be placed in a three-way connection with two generators and a resistor. This often makes it look like the lines are leading to the resistor, but are actually ignoring it.
Linking a resistor in a loop to another resistor causes a power drain and drops them both to 0.
Tools
Game written entirely in JavaScript, HTML, and CSS. Graphic work was done in Photoshop and processed through CodeKit 3. Music was generated with WolframTones. Sound effects generated with Bfxr.
Screenshot

| Source code | https://github.com/BrandonDiaz/ldjam39 |
| HTML5 (web) | https://rezeyu.itch.io/ldjam39 |
| Original URL | https://ldjam.com/events/ludum-dare/39/lights-out-1 |
Ratings
| Overall | 52th | 3.939⭐ | 35🧑⚖️ |
| Fun | 257th | 3.303⭐ | 35🧑⚖️ |
| Innovation | 227th | 3.333⭐ | 35🧑⚖️ |
| Theme | 58th | 4.061⭐ | 35🧑⚖️ |
| Graphics | 68th | 4.03⭐ | 35🧑⚖️ |
| Audio | 116th | 3.515⭐ | 35🧑⚖️ |
| Humor | 268th | 2.467⭐ | 32🧑⚖️ |
| Mood | 99th | 3.594⭐ | 34🧑⚖️ |
| Given | 27🗳️ | 27🗨️ |
Worth noting though: it refuses to run if you have moderately strict access rules in your browser. More specifically if it can't get at the localStorage for whatever that domain is.
Other than that, an interesting and fun puzzle game. Thanks for making it!
Likes:
Aesthetics and sound design were subtle. Concept was simple and perfectly in line with the theme. It was remarkably polished for such a short jam too.
Could improve:
Not much! I agree with people saying the sound effects are slightly too loud, and also feel that the contrast makes the screen hard to see during the day.
Really great overall. Will return to play again!
- clean graphics
- clear puzzle game
- music
Things for improvement
- Item select sound sounds like a cancel
- powerlines being able to split
Felt stupid in not being able to complete the last maps, but hey, my fault not yours.
Great overall polish, thanks for the experience. The "tool switching" sound feels a bit off; I thought I did something wrong.