webOS Nation Forums >  Homebrew >  webOS homebrew apps > Lights Out
Lights Out

  Reply
 
LinkBack Thread Tools Display Modes
Old 08/01/2009, 03:01 PM   #1 (permalink)
Homebrew Developer
 
enormous's Avatar
 
Join Date: Dec 2007
Location: D.C. Area
Posts: 195
Likes Received: 0
Thanks: 73
Thanked 39 Times in 20 Posts
Lightbulb Lights Out

Presenting: Lights Out!
A Lights Out/Fiver clone

It's back!! The ipk may now be found in the App Gallery!
http://www.precentral.net/homebrew-apps/lights-out

Please continue to post issues/suggestions in this thread. Thanks for all the support!


Lights Out v0.2.0 (8/1)
  • Initial release
Lights Out v0.3.0 (8/2)
  • New dark theme
  • Added background image
  • Removed header
  • Cleaned up code
  • Added Help scene (currently empty)
  • Changed application menu
  • Changed level selection button
  • Game should no scroll now
  • Reset button now resets game board to last selected level
Lights Out v0.3.1 (8/2)
  • Minor bug fixes
  • Fixed help screen version

Lights Out v0.4.0 (8/10)
  • Added random game mode NOTE: some random sets MAY NOT BE POSSIBLE TO WIN!
  • Game now starts with all lights in off state
  • Reset button now functions correctly, and will reset random mode to last randomly generated set
  • Changed button style
  • Added counter for number of moves when victorious
  • Added functionality to check if randomly generated set has a solution

This is my first webOS application. I initially started working on it as a learning experience, but once I got the JavaScript port working, I couldn't stop! I feel as though the game has reached a point where I can release it (it's playable, and is sort-of webOS-ified).

How to play

Pressing one of the lights will toggle it and the four lights adjacent to it on and off. (Diagonal neighbors are not affected.) The game provides a puzzle: to switch all the lights off, preferably in as few button presses as possible.

Known Issues

To Do
  • Add help scene (with game play instructions)
  • Add high scores/leaderboard
  • Move difficulty selector
  • Remove header
  • New icon
  • Name change?
  • Improve button graphic
  • Implement random game mode

Credits

Original JavaScript written by Andrew Gacek (andrew@dgi.net) and can be found here.

This application is available for free, but cannot be redistributed, and the source code is not open source.

Attached Images
File Type: jpg screen3.jpg (43.9 KB, 290 views) Email Attachment

Last edited by enormous; 08/10/2009 at 09:34 PM. Reason: New version
enormous is offline   Reply With Quote
Old 08/01/2009, 03:13 PM   #2 (permalink)
Member
 
johnsavage06's Avatar
 
Join Date: Jun 2009
Location: oakland, cali
Posts: 98
Likes Received: 0
Thanks: 16
Thanked 18 Times in 15 Posts
Default

awesome i remember having a game like this when i was younger, tanks for the app
johnsavage06 is offline   Reply With Quote
Old 08/01/2009, 03:42 PM   #3 (permalink)
Member
 
Join Date: Mar 2009
Location: MD
Posts: 75
Likes Received: 0
Thanks: 30
Thanked 13 Times in 10 Posts
Default

This was such a great game! Great to have it on the Pre too!
jedwardmiller is offline   Reply With Quote
Old 08/01/2009, 05:36 PM   #4 (permalink)
Member
 
Dtom2444's Avatar
 
Join Date: Jun 2009
Location: Stamford Bridge
Posts: 122
Likes Received: 0
Thanks: 19
Thanked 29 Times in 16 Posts
Default

Awesome! I've always had a special place in my heart for this game, and from what I've played so far, works perfectly! Thank you so much!

Suggestions/Requests:

-Either make the difficulty option a button next to the reset button, or put it in the dropdown menu. Seems kind of confusing with just the word there.
-A timer and a high score leaderboard would be great.
-An undo button/option would be fantastic.

BUG: When I select the Easiest difficulty, it changes the board to only 3 lights on. But when I want to restart the puzzle and press "Reset", it turns on all the lights. It should go back to the starting default configuration (in this case, only 3 lights turned on).

Or was that done on purpose? If so, may I suggest a restart button?
__________________

"We all follow the Chelsea!!!"

Last edited by Dtom2444; 08/01/2009 at 05:51 PM.
Dtom2444 is offline   Reply With Quote
Old 08/01/2009, 06:38 PM   #5 (permalink)
Member
 
Join Date: Jun 2009
Posts: 2
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A how to play the game would be helpful
BesmirAmeti is offline   Reply With Quote
Old 08/01/2009, 10:32 PM   #6 (permalink)
Homebrew Developer
 
enormous's Avatar
 
Join Date: Dec 2007
Location: D.C. Area
Posts: 195
Likes Received: 0
Thanks: 73
Thanked 39 Times in 20 Posts
Default

Thanks for all of the comments and suggestions! I'm glad people are enjoying it. OP has been updated to add more detail.
enormous is offline   Reply With Quote
Old 08/01/2009, 10:42 PM   #7 (permalink)
Member

 
Join Date: Apr 2003
Location: Boston-area
Posts: 6,973
Likes Received: 116
Thanks: 418
Thanked 1,252 Times in 710 Posts
Default

Yeah, I think difficulty and reset should go in the App Menu (the top left corner) and then you have room in case a notification comes in too, and then you don't have to worry about the scene scrolling.

But still, this is fun (and difficult).
jhoff80 is offline   Reply With Quote
Old 08/01/2009, 10:44 PM   #8 (permalink)
Member
 
frankos72's Avatar
 
Join Date: May 2009
Location: Oklahoma
Posts: 530
Likes Received: 13
Thanks: 68
Thanked 102 Times in 56 Posts
Default

Yeah, so I used to could do this as a kid. Right now I'm beginning to doubt I still have that same brain ability. Anyway thanks for a game I'll play! Well till I beat it anyway.
__________________
frankos72
Simple Bible - Simple Bible Pro - Bits of God Website
My Day Job: www.pigstands.com
frankos72 is offline   Reply With Quote
Old 08/01/2009, 10:49 PM   #9 (permalink)
Member
 
Join Date: Jul 2009
Posts: 26
Likes Received: 0
Thanks: 22
Thanked 0 Times in 0 Posts
Default

Gonna try
HeartofaKing is offline   Reply With Quote
Old 08/02/2009, 11:40 AM   #10 (permalink)
Member
 
Join Date: Apr 2009
Posts: 25
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Awesome!!

First I thought there is no way to turn all lights of, but you can ... I can't wait to give this to my kids - that'll blow their mind !

Thanks, enormous -
liggy is offline   Reply With Quote
Old 08/02/2009, 12:48 PM   #11 (permalink)
Member
 
Join Date: Jun 2009
Posts: 83
Likes Received: 0
Thanks: 1
Thanked 8 Times in 7 Posts
Default

this is great, thanks
tidusmccoy1515 is offline   Reply With Quote
Old 08/02/2009, 10:06 PM   #12 (permalink)
Homebrew Developer
 
enormous's Avatar
 
Join Date: Dec 2007
Location: D.C. Area
Posts: 195
Likes Received: 0
Thanks: 73
Thanked 39 Times in 20 Posts
Lightbulb

Just uploaded an update

Lights Out v0.3.0 (8/2)
  • New dark theme
  • Added background image
  • Removed header
  • Cleaned up code
  • Added Help scene (currently empty)
  • Changed application menu
  • Changed level selection button
  • Game should no scroll now
  • Reset button now resets game board to last selected level
enormous is offline   Reply With Quote
Thanked By: Dtom2444
Old 08/03/2009, 12:26 AM   #13 (permalink)
Member
 
Join Date: Jul 2009
Posts: 19
Likes Received: 0
Thanks: 6
Thanked 0 Times in 0 Posts
Default

thanks for the game
grifterz is offline   Reply With Quote
Old 08/03/2009, 02:04 AM   #14 (permalink)
Member
 
Mononoko's Avatar
 
Join Date: Jul 2009
Posts: 132
Likes Received: 0
Thanks: 13
Thanked 46 Times in 23 Posts
Default

Definitely needs a move counter and highscore table. But a great game none the less. very sleek and simple.
Mononoko is offline   Reply With Quote
Old 08/03/2009, 04:27 AM   #15 (permalink)
Member
 
Dtom2444's Avatar
 
Join Date: Jun 2009
Location: Stamford Bridge
Posts: 122
Likes Received: 0
Thanks: 19
Thanked 29 Times in 16 Posts
Default

Quote:
Originally Posted by enormous View Post
Just uploaded an update

Lights Out v0.3.0 (8/2)
  • New dark theme
  • Added background image
  • Removed header
  • Cleaned up code
  • Added Help scene (currently empty)
  • Changed application menu
  • Changed level selection button
  • Game should no scroll now
  • Reset button now resets game board to last selected level
Awesome! Glad to see so many welcome improvements so quickly after initial release. Looking forward to further releases!
__________________

"We all follow the Chelsea!!!"
Dtom2444 is offline   Reply With Quote
Old 08/03/2009, 06:52 AM   #16 (permalink)
Member
 
Join Date: Jun 2009
Posts: 10
Likes Received: 0
Thanks: 10
Thanked 0 Times in 0 Posts
Default

Thanks a bunch for the game, it works wonderful. Definitely brings me back to my childhood when I had the game.

Just a heads up, when you updated to 0.3 the "about" page still shows 0.2.

One idea you may want to do (and I think this may be how the game was when I had it as a kid, but it's been so long I forget) is have a simple "random" thing to turn lights on instead of the preprogrammed levels you currently have. So, basically the random function can randomize the number of lights on as well as their locations, if a person doesn't like the one generated they hit generate again and again until they get one they like. That way it's a never ending game people can play.

Keep up the great work, it looks wonderful and functions amazingly.
mike_103 is offline   Reply With Quote
Old 08/03/2009, 07:16 AM   #17 (permalink)
Member
 
Join Date: Jul 2009
Posts: 26
Likes Received: 0
Thanks: 22
Thanked 0 Times in 0 Posts
Default

thanks for the update
HeartofaKing is offline   Reply With Quote
Old 08/03/2009, 08:13 AM   #18 (permalink)
Member
 
Join Date: Jul 2009
Posts: 1,461
Likes Received: 115
Thanks: 64
Thanked 294 Times in 180 Posts
Default

Thanx alot man. This game makes me feel like an idiot. When I was 8 I had no problem, now, not so much...
Mhunterjr is offline   Reply With Quote
Old 08/03/2009, 08:59 AM   #19 (permalink)
Member
 
Join Date: Jul 2009
Posts: 3
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Default

great app!
ypetrik is offline   Reply With Quote
Old 08/04/2009, 12:33 AM   #20 (permalink)
Member
 
ruffrydasean's Avatar
 
Join Date: Aug 2007
Posts: 89
Likes Received: 0
Thanks: 2
Thanked 5 Times in 4 Posts
Default

can't wait for this to be re-added
ruffrydasean is offline   Reply With Quote
Thanked By: fostersafb1
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0