I decided that I wanted to contribute to the Picotron Solitaire Suite which is one of the best made games made for Picotron so far.
It's a little slapped together, but thanks to the amazing design of the example file I was able to make it easily in about a day.
I know that this version of Freecell deviates greatly from a traditional Freecell where all moves have to be done through a cell. The reason I didn't make it work this way is because I don't enjoy that version of Freecell.
Eventually I would like to add another, harder Freecell once I figure out how to force the red-black alternating and how to add the color option into the option menu like it is for the base game's standard solitaire mode. Any help in those two issues would be greatly appreciated!
This is a mod for the Picotron Solitaire Suite which can be found [Here]. I would recommend downloading this through the mod manager of PSS, but it can also be downloaded on it's own or played in browser.
[Version 0.2]
- added a hard mode that requires black/red alternating
- made a new box for the easy mode
- fixed some issues
NICE! Glad to see someone finally make a mod for this. I like the box sprite you made for it too.
A few notes on the game:
You'll want to adjust the height limit for the positioning of cards on the 7 stacks. In the stack initialization, if you change stack_repose_normal
to stack_repose_normal(nil, nil, [HEIGHT LIMIT])
you can ensure all cards are visible on screen. this function can be found in cards_api/stack.lua
.
You can make the cards just black and red (or make it an option) by changing the parameters of card_gen_standard()
. You can see how I changed it on around line 28 in solitaire_normal.lua
in the main cart. and how it is an option in the function game_settings_opened()
in the same file. (you can also see how the option is saved.)
For the harder version you're thinking of, you'll want to look at stack_can_rule
and how you can add a new rule to stack_on_click_unstack
in addition to unstack_rule_decending
. These can be seen in stack_rule.lua
It was intended that you changed the game of the game's lua file and folder to your game's name, since they are the main way of identifying what game is being played (overlaps save data). I MIGHT try to figure out a better way to store this in the future.
It's actually fine to play the game on this page. It's just more of a way to collect all the mods in one place. In fact, the mod loader doesn't work on the bbs right now. (will eventually get fixed when bbs://
becomes available)
Thank you so much for the feedback! I implemented all your recommendations. I just bought a book of card games so I might end up making a couple more assorted solitaire variants I like. I'm also thinking of doing some from Zacktronics.
[Please log in to post a comment]