Notice: A non well formed numeric value encountered in /sites/ on line 96 Notice: A non well formed numeric value encountered in /sites/ on line 96 Notice: A non well formed numeric value encountered in /sites/ on line 96 Deprecated: Function create_function() is deprecated in /sites/ on line 104 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /sites/ on line 845 Deprecated: Function create_function() is deprecated in /sites/ on line 111 FS#7203 : New game for Color-LCD-Rockboxes



FS#7203 - New game for Color-LCD-Rockboxes

Attached to Project: Rockbox
Opened by Andreas Kruschinski (krush1704) - Tuesday, 22 May 2007, 20:32 GMT
Task Type Patches
Category Plugins
Status Unconfirmed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


This is the game Squarebloxx. It works on Color-LCDs only because colors are an essential part of the game. I tested it in the Simulator for all the color Boxes. I also tested it on my H340.
In the game you have to mark parts of an array of tiles. If the tiles in the corners of the mark are the same color, the marked area is done. If all tiles are done the level is finished.
Please give me feedback and report bugs.

Thanks Krush
   sqb.c (13.1 KiB)
This task depends upon

Comment by Dave Chapman (linuxstb) - Saturday, 26 May 2007, 09:17 GMT
I've just tried this, and like it. A few comments:

1) Please try and follow the Rockbox coding guidelines - - specifically, there are TABs in the source, lines longer than 80 characters, and you've used lower-case for the pre-processor symbols.

2) If I'm understanding the game correctly, then colour isn't needed - it could also be played with different symbols representing the different blocks. This would allow it to run on all Rockbox devices - it's unlikely to be accepted into SVN unless it runs on all devices that it is possible for it to run on. Maybe you could use the bitmaps from an existing game - e.g. Jewels?

3) Can you also include the standard Rockbox header in your .c file? Assuming (of course) that you're releasing your code under the GPL.
Comment by Andreas Kruschinski (krush1704) - Monday, 28 May 2007, 11:21 GMT
Thanks for the feedback.
You are right, I will use Symbols for the non-color boxes and color symbols for these with colors. I also will use the coding guidelines. I will release a new version at the end of the week.
Include the standard header is no problem.
Comment by Jack Suter (chrisjs169) - Friday, 08 June 2007, 00:10 GMT
I also like this game, and also have one question: Do you visit There was a game just like this that was on there not too long ago.

A few comments as well:

1. The name sqb seems like an odd name when scrolling through the list of plugins.
2. From what I noticed, there isn't any checking to make sure there's still a possibility. If the object of the game is to beat the clock, and there's no more 'moves' left, then you're kinda out of luck. Out of the five times I played it, it only happened once, so I don't think it'd be a huge problem if there was no form of checking added.
Comment by Andreas Kruschinski (krush1704) - Friday, 08 June 2007, 13:06 GMT
1. I think you are right with the name.
2. There's a function called check_possi() that checks the possibilities. There is ALWAYS one or more possibilities in the game.
Comment by Antoine Cellerier (dionoea) - Thursday, 28 June 2007, 20:56 GMT
Hi. The game looks nice. Will you be updating the patch?