• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Games
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Tom Ross - 2006-07-27
Last edited by Robert Kukla - 2008-04-04

FS#5725 - New Puzzle Game "PegBox"

This game is called PegBox and it is based off of Pegs for the TI-83 by Detached Solutions ( 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.

Closed by  Robert Kukla
2008-04-04 18:43
Reason for closing:  Accepted
Tom Ross commented on 2006-08-09 09:29

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.

Tom Ross commented on 2006-08-09 17:03

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)
Tom Ross commented on 2006-08-09 17:07

Bah, I attached the wrong version, please ignore. This is the correct file, I promise.

(application/octet-stream)    pegbox.c (41.2 KiB)
Tom Ross commented on 2007-03-24 20:21

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

Jonathan Gordon commented on 2007-08-01 14:12

any reason to not commit?

Thomas Martitz commented on 2007-10-01 16:35

I guess not.

David Maliniak commented on 2007-10-25 18:35

Dumb question, probably, but where does one place the bitmaps?

Jack Suter commented on 2007-10-25 19:07

apps/plugins/bitmaps/native is where the bitmaps should go.

David Maliniak commented on 2007-10-26 00:02

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.
CC battery_bench.c
rm /cygdrive/c/cygwin/bin/rockbox/build/apps/plugins/battery_bench.o
* [rocks] Error 2
make: *** [build] Error 2

I have the bitmaps where they belong. Any clues? Thanks in advance.

Jack Suter commented on 2007-10-26 00:14

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?

David Maliniak commented on 2007-10-26 01:20

You da man. That was it! Thanks, Jack.

Robert Kukla commented on 2008-04-03 18:22

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.


Available keyboard shortcuts


Task Details

Task Editing