Warning: mysqli_real_connect(): Headers and client library minor version mismatch. Headers:50625 Library:50543 in /sites/rockbox.org/flyspray/adodb/drivers/adodb-mysqli.inc.php on line 108 FS#5725 : New Puzzle Game "PegBox"



FS#5725 - New Puzzle Game "PegBox"

Attached to Project: Rockbox
Opened by Tom Ross (midgey34) - Thursday, 27 July 2006, 04:54 GMT
Last edited by Robert Kukla (roolku) - Friday, 04 April 2008, 18:43 GMT
Task Type Patches
Category Games
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This game is called PegBox and it is based off of Pegs for the TI-83 by Detached Solutions (www.detachedsolutions.com). The object of the game is to clear the board of all of the pieces, or pegs, in order to advance to the next level. This can be done by matching up two similar pegs so that they disappear or by pushing them down the holes. If two triangles are pushed together, they form a wall and if a square is pushed into a hole, the hole is filled. Beware: Falling down a hole or pushing together two unlike pegs will result in a restart of the level.

The game should run on all supported Rockbox targets.

* It would be nice to get some better graphics for this as the current ones are rather simple.
* More level designs would be nice as well; this version contains 15 levels.
* Some input on keymapping would be nice as well. The buttons may feel awkward.
This task depends upon

Closed by  Robert Kukla (roolku)
Friday, 04 April 2008, 18:43 GMT
Reason for closing:  Accepted
Comment by Tom Ross (midgey34) - Wednesday, 09 August 2006, 09:29 GMT
Here's the newest version of PegBox. Some bugs were fixed and now the game features a nice looking menu and new graphics thanks to Salival of MisticRiver. Also some slight code cleanup. The help function is currently messy and I'd like suggestions on improvements. One idea is to change from messages to bitmaps, but I'm not terribly keen of that idea. Once again, comments are always appreciated.
Comment by Tom Ross (midgey34) - Wednesday, 09 August 2006, 17:03 GMT
Last version was broken on iPods, my apologies. Let me know if I did anything stupid this time =)
(application/octet-stream)    pegbox.c (41.4 KiB)
Comment by Tom Ross (midgey34) - Wednesday, 09 August 2006, 17:07 GMT
Bah, I attached the wrong version, please ignore. This is the correct file, I promise.
(application/octet-stream)    pegbox.c (41.2 KiB)
Comment by Tom Ross (midgey34) - Saturday, 24 March 2007, 20:21 GMT
Updated version that uses a modified help screen and has been adapted to the Sansa. Likely to be SVN quality or at least close.

To use: patch with -p0 and add the bitmaps from the above zip file
Comment by Jonathan Gordon (jdgordon) - Wednesday, 01 August 2007, 14:12 GMT
any reason to not commit?
Comment by Thomas Martitz (kugel.) - Monday, 01 October 2007, 16:35 GMT
I guess not.
Comment by David Maliniak (major_works) - Thursday, 25 October 2007, 18:35 GMT
Dumb question, probably, but where does one place the bitmaps?
Comment by Jack Suter (chrisjs169) - Thursday, 25 October 2007, 19:07 GMT
apps/plugins/bitmaps/native is where the bitmaps should go.
Comment by David Maliniak (major_works) - Friday, 26 October 2007, 00:02 GMT
I get a make error with this patch and I have no idea why...

CC jewels.220x176x16.c
BMP2RB minesweeper_tiles.16x16x24.bmp
CC minesweeper_tiles.16x16x24.c
make[3]: *** No rule to make target `pegbox_menu_top.176x46x16.bmp', needed by `/cygdrive/c/cygwin/b
in/rockbox/build/apps/plugins/bitmaps/native/pegbox_menu_top.176x46x16.c'. Stop.
build pluginlink.lds
CC battery_bench.c
rm /cygdrive/c/cygwin/bin/rockbox/build/apps/plugins/battery_bench.o
make[1]: *** [rocks] Error 2
make: *** [build] Error 2

I have the bitmaps where they belong. Any clues? Thanks in advance.
Comment by Jack Suter (chrisjs169) - Friday, 26 October 2007, 00:14 GMT
I noticed in the archive, they're in a "Bitmaps" directory first - are you sure that the bitmaps are stored in apps/plugins/bitmaps/native, and not apps/plugins/bitmaps/native/Bitmaps?
Comment by David Maliniak (major_works) - Friday, 26 October 2007, 01:20 GMT
You da man. That was it! Thanks, Jack.
Comment by Robert Kukla (roolku) - Thursday, 03 April 2008, 18:22 GMT
Is there a reason why this is not committed yet? If there are no objections I'll add the missing keymaps and commit it as I quite enjoy the game.