FS#12138 - Freecell game - new plugin for rockbox

Attached to Project: Rockbox
Opened by Jason Stark (sharky44) - Sunday, 29 May 2011, 22:55 GMT
Task Type Patches
Category Plugins
Status Unconfirmed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Rbutil SVN
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Hacking from Antoine Cellerier's code for solitaire.c, I put together a rough freecell game.

It currently works for Sansa E200 targets. Others should work once button mappings are done.

This is not heavily tested, so feel free to report or fix any problems you encounter.
This task depends upon

Comment by Jason Stark (sharky44) - Sunday, 29 May 2011, 23:01 GMT
Missing functionality and other outstanding issues:
1. The code doesn't know if the game is un-winnable (there are no more moves remaining) - not a huge issue, you can always start a new game on your own
2. Currently, if moving a stack of more than one card (it does some calculations to determine how many can be moved with open free cells and columns), but you have to select the highest card in the stack you want to move. e.g. if you have a stack of 6-5-4-3 you'd like to move onto a 7, it'd be nice to select the 3, move to the 7 and have the whole stack move automatically. I tried to incorporate this logic but it doesn't seem to be working.
Comment by Jason Stark (sharky44) - Saturday, 04 June 2011, 18:36 GMT
Issue #2 from comment #1 is resolved in this version. A few other refinements and fixes.