Running Out of Power by Jordanfb
Play this creatively titled game while you're playing much better ones! The goal of this game is to keep your laptop's battery charge under a certain percentage for as long as possible! You'll have to manage your power carefully at higher (technically lower, according to how I phrased it in game) difficulties, otherwise your laptop will Run Out of Power! It's a race against time, and time always wins. But here's the question: is it better to fail by having too much power, or too little?

Edit: Added a Mac version and fixed a game breaking bug (added an if statement)
| Other (platform) | |
| macOS | https://jordanfb.itch.io/running-out-of-power |
| Windows | https://jordanfb.itch.io/running-out-of-power |
| Original URL | https://ldjam.com/events/ludum-dare/39/running-out-of-power-11 |
Ratings
| Given | 10🗳️ | 12🗨️ |
Jokes aside, this is a neat concept for a game and an interesting take on the theme. I always enjoy games that break the 4th wall and use the computer's actual interface as a mechanic. Though it's mostly just a matter of plugging and unplugging you computer while keeping an eye on the charge, the game certainly is unique. I did almost fail when I went to watch a YouTube video and nearly forgot about it, so there is some tension there. It's mostly just a neat thing to have on in the background, is cool in and of itself. It's an entirely different type of game compared to what you usually see coming from Ludum Dare.
Also, not sure how healthy this is for the computer's battery life
One funny thing I noticed was that I could use the arrow keys to move off the main menu and onto other screens that were supposed to only be accessible by clicking the buttons.
As far as improving the game goes, maybe there exists some change to the mechanics so it doesn't take so much time to get intense. Like if you set a minimum power of 90% it wouldn't take as long to reach from 10% and you'd have to plug and unplug to hover between 90 and 100%.
Error
main.lua:309: attempt to perform arithmetic on local 'percent' (a nil value)
Traceback
main.lua:309: in function 'getBatteryColor'
main.lua:100: in function 'update'
[C]: in function 'xpcall'
Hope I could help!
Good Job :)
@gentel oops, yeah, those are from when I was debugging the movement of the screens, oops. Every button should work, even if you use the arrow keys to get there, not that there's much reason to... About the idea for a minimum bound: yeah, that probably makes sense to add, I was going to add a setting which allowed you to "start" the game at a lower percentage than what you were at, and then it just wouldn't count the scores until you got there, (and I even added that in the hover text over the asterisk if you drag the slider as far left as possible) but I didn't have the time. Thanks for the review!