![]() |
[Maemo 5] Freecell in devel and testing
I haven't seen any freecell games for Fremantle yet, so I've added the N8x0 freecell4maemo (http://code.google.com/p/freecell4maemo/) game to
All changes are listed below. Enjoy! -jkq Changelog: 1.0.0-fremantle6: * Fixed directory permissions for ~/.freecell4maemo * WARNING: If a saved game created by a version before 1.0.0-fremantle5 exists, it will be deleted on installation! 1.0.0-fremantle5: * Added version number to "About" menu item (bug #8680) * Added (missing) dependency on python-osso package * Added "Auto Move to Stacks" menu item * Disallow undo after current game is won * Tweaked graphics for aces and twos to show suit when underneath other cards (bug #9119) 1.0.0-fremantle4 (in extras): * Added bugtracker field to debian control file 1.0.0-fremantle3: * Actually implement the fix listed in the previous changelog entry. Argh. 1.0.0-fremantle2: * Don't save state if the game is won 1.0.0-fremantle1: * Fixed bug where you could move any card to the ace pile initially * New feature: save state on exit and resume on startup 1.0.0-fremantle0: * Initial release of port |
Re: [Maemo 5] Freecell in devel and testing
Thanks for optifying it. It works but it's basic. Is there any way to save the state on exit so that you can continue the game later?
|
Re: [Maemo 5] Freecell in devel and testing
Quote:
So far I've not yet had to figure out how he coded up the game logic. I'll poke around a bit, but no promises. -jkq |
Re: [Maemo 5] Freecell in devel and testing
There's a bug I think...only aces are supposed to be placed in the four home cells in the upper right. Right now I can place any card.
|
Re: [Maemo 5] Freecell in devel and testing
Quote:
I actually (ab)used it a few times when my N800 touchscreen acted up, before I realized that it was possible to undo moves. -jkq |
Re: [Maemo 5] Freecell in devel and testing
Quote:
If you want to fix it locally, here's how: 1. Become root 2. Open "/usr/bin/freecell4maemo.py" in your favorite editor 3. On line 1098 change Code:
if (srcSuit == dstSuit and (dstNumCards <= 0 or srcCardVal == dstCardVal + 1)): Code:
if (srcSuit == dstSuit and (srcCardVal == dstCardVal + 1)): -jkq |
Re: [Maemo 5] Freecell in devel and testing
Okay, there is a new version in extras-devel. I'll bump it to -testing in a few days, after I've had a chance to play a few more games myself.
Quote:
Quote:
-jkq |
Re: [Maemo 5] Freecell in devel and testing
Quote:
|
Re: [Maemo 5] Freecell in devel and testing
Thanks for "porting" this to Fremantle, and also for making it known... I had managed not to notice it had been available all that time for Maemo4 :-)
Since it's in Python, I will also look into it and see if it can be made a little better (remove the ponderous card animation, move cards automatically, error messages etc.). |
Re: [Maemo 5] Freecell in devel and testing
Great stuff, I've loved the game since forever.
I know other stuff probably has higher priority, but could I please have autoplay or at least double-click on a card to send it to free cell or to its place on top? Once the puzzle has been solved I spend a minute putting all the cards up. Otherwise a great implementation. Maybe an animation speed tweak? (couldn't resist) |
Re: [Maemo 5] Freecell in devel and testing
Quote:
Pop open the keyboard and hit either the enter or space keys and that'll auto-play everything it can. There are a few other keys that enable stuff hidden in the code (hint: try the arrow keys) -- the original author didn't document them in the about page, and I didn't add them either. :p -jkq |
Re: [Maemo 5] Freecell in devel and testing
Quote:
|
Re: [Maemo 5] Freecell in devel and testing
Quote:
Quote:
Thaaaank yooou! |
Re: [Maemo 5] Freecell in devel and testing
Quote:
Quote:
Quote:
-jkq |
Re: [Maemo 5] Freecell in devel and testing
MUCH thanks, guys....I really enjoy solitaire and especially freecell....it's usually the first game I install into any phone I have (hence I only own smartphone). My jaw dropped when I realize there isn't one for maemo5...I have settled for Aisleriot (n800) for a while but will give this one a try...Much thanks....:D Keep it up....
|
Re: [Maemo 5] Freecell in devel and testing
Okay, I bumped it to testing. Vote here.
|
Re: [Maemo 5] Freecell in devel and testing
Quote:
|
Re: [Maemo 5] Freecell in devel and testing
Quote:
-jkq |
Re: [Maemo 5] Freecell in devel and testing
Thanks. I've downloaded the newest version this morning.
|
Re: [Maemo 5] Freecell in devel and testing
I love it! Bot I have two buts (or rather ifs).
Is it possible to make the program calculate with the free spaces aswell as the free slots (it's often possible to move more than five cards, but now you have to do it manually in two or more steps). I would LOVE to see a highscore-function. Maybe on time, but definately a track record for won - lost games. I like to get a graphic view of my obsession from time to time... |
Re: [Maemo 5] Freecell in devel and testing
Quote:
Quote:
-jkq |
Re: [Maemo 5] Freecell in devel and testing
Quote:
Edit: Bug added! |
Re: [Maemo 5] Freecell in devel and testing
Quote:
I don't see your bug in the list, can you provide the bug number? -jkq |
Re: [Maemo 5] Freecell in devel and testing
Freecell4maemo has received enough votes to make it into the extras repository! :):):)
-jkq PS. Could a mod change the thread title to say "in extras" instead of "in devel and testing"? Thanks! |
Re: [Maemo 5] Freecell in devel and testing
If you installed 1.0.0-fremantle5, type the following (very carefully!) in a terminal (make sure you have the rootsh package installed): Code:
rootsh chown user:users /home/user/.freecell4maemo |
Re: [Maemo 5] Freecell in devel and testing
|
Re: [Maemo 5] Freecell in devel and testing
jkq use Report Post to send your request to the mods (I don't moderate this forum and not every post gets read by them)
|
Re: [Maemo 5] Freecell in devel and testing
Quote:
-jkq |
Re: [Maemo 5] Freecell in devel and testing
"* Disallow undo after current game is won"
Undo does nothing, but you can still move king back and forth and get high on "You won" message. Works both in high-speed and normal moving (harder in normal move). |
Re: [Maemo 5] Freecell in devel and testing
Quote:
-jkq |
Re: [Maemo 5] Freecell in devel and testing
It is done.
|
Re: [Maemo 5] Freecell in devel and testing
The size it requires in rootfs is a disaster
|
Re: [Maemo 5] Freecell in devel and testing
I see 39.8K in one .py
Care to elaborate on the said disaster? |
Re: [Maemo 5] Freecell in devel and testing
love this game, well done. Game engine implementation is spot on. Graphics need to be better.
|
All times are GMT. The time now is 09:03. |
vBulletin® Version 3.8.8