Page 2 of 2 FirstFirst 12
Results 21 to 38 of 38
  1. #21  
    cant wait to add it when it comes out again!
  2.    #22  
    Apologies for the snafu. The ipk files will be making a reappearance shortly!
  3. #23  
    man... i want to enjoy this game but i am really bad at it :P
    http:/www.codeofdoom.com/wordpress

    Five or More for the Palm Pre and Palm Pixi
  4. imhyatt's Avatar
    Posts
    20 Posts
    Global Posts
    24 Global Posts
    #24  
    This looks great! I hope the ipk is back up soon!!
  5. #25  
    i had a hand held like, kb toys version of this! cant wait for the re-up!
  6.    #26  
    OP updated! Inclusion in the App Gallery (and bad timing) were the reason for the missing ipk. Sorry for any inconveniences, now go enjoy!

    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!
  7. #27  
    When I try to dowoad the new version, it fails. I even deleted the old one, still no go.
  8.    #28  
    How are you installing it? I just used fileCoaster and the link from the App Gallery and it (re)installed successfully.
  9. #29  
    Great app X2
  10. #30  
    Will wait for it
  11.    #31  
    Quote Originally Posted by niospecv View Post
    Will wait for it
    What are you waiting for? Go get it!
  12. #32  
    not sure about everyone else but the reset button isn't working for me. love the app though, although i'm terrible at this game
  13.    #33  
    New Version! OP updated.

    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
  14. askeeve's Avatar
    Posts
    5 Posts
    Global Posts
    9 Global Posts
    #34  
    If you hit the upper left context menu with a game in progress it clears the board. This is very frustrating. I think the absolute best would be for it to save your state after every button press (a la the sudoku ap in the catalog) so you can quit and come back whenever you want.
  15.    #35  
    Quote Originally Posted by askeeve View Post
    If you hit the upper left context menu with a game in progress it clears the board. This is very frustrating. I think the absolute best would be for it to save your state after every button press (a la the sudoku ap in the catalog) so you can quit and come back whenever you want.
    Good find! I guess I had never accessed the app menu while playing. I'll look into a save/restore feature. It will be a good introduction into how data is manipulated on the Pre.

    What does everyone think of the random mode and other changes?
  16. #36  
    Palms app catalog just got a version. yours is better
  17.    #37  
    Quote Originally Posted by Mononoko View Post
    Palms app catalog just got a version. yours is better
    Thanks! I've got a couple of features on the drawing board that will hopefully keep mine looking good.
  18. #38  
    Improve random game mode (fix solvable check and fix pattern)

    Code:
    GameboardAssistant.prototype.isSolvable = function(){
    	var solvmasks = [0, 7, 10, 13, 17, 22, 27, 28];
    	var row = [0, 0, 0, 0, 0];
    	/* build bitmasks for rows */
    	for (var i = 0; i < 5; i++) {
    		for (var j = 0; j < 5; j++) {
    			if (this.elementArray[5*i+j]) {
    				row[i] = row[i] | (1 << j);
    			}
    		}
    	}
    	/* move all lights down to last row */
    	for (var i = 1; i < 5; i++) {
    		var t = row[i-1];
    		/* press "t" in row i */
    		row[i-1] = 0; /* 0 == t ^ t: trigger lights in i-1 */
    		if (i < 4) row[i+1] = row[i+1] ^ t; /* trigger lights in i+1 */
    		t = (t ^ (t >> 1) ^ (t << 1)) & 0x1f; /* trigger lights in i */
    		row[i] = row[i] ^ t;
    	}
    
    	/* check for solvable bit masks */
    	if (solvmasks.indexOf(row[4]) != -1) return;
    
    	/* fix pattern */
    	var switchlights = solvmasks[Math.floor(Math.random() * 8)] ^ row[4];
    	for (var i = 0; i < 5; i++, switchlights = switchlights >> 1) {
    		if (switchlights & 1) {
    			var light = 20+i;
    			var idx = this.randomArray.indexOf(light);
    			if (idx == -1) {
    				this.elementOn(light);
    				this.randomArray.push(light);
    			} else {
    				this.elementOff(light);
    				this.randomArray.splice(idx, 1);
    			}
    		}
    	}
    }
Page 2 of 2 FirstFirst 12

Posting Permissions