Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game ideas: Short Picture Gallery (one deck variation of the classic game) #338

Open
LinuxBeaver opened this issue Oct 1, 2023 · 8 comments

Comments

@LinuxBeaver
Copy link

LinuxBeaver commented Oct 1, 2023

Is it possible to make two new games for Pysol that feature Picture Gallery with both one deck and four decks? I'd like to see that.

@joeraz
Copy link
Collaborator

joeraz commented Oct 2, 2023

I actually did some experimenting on the idea of a one-deck Picture Gallery sometime last year. I found that Picture Gallery doesn't really work too well as a one-deck game. It's a lot more difficult to free up the tableau piles, so usually, the player is barely able to make any moves, and quickly gets critical cards blocked, and loses. It's also not that uncommon to get a deal where the player can't free up any tableau piles, and can't do anything other than futilely deal through the talon. If you'd like a plugin for this, or a branch, I can set it up, but I think a single deck Picture Gallery needs something a bit more to work.

Four-deck, on the other hand, not a problem. I did previously add some three or four deck variants of some Picture Gallery variants, but never did anything with the original Picture Gallery.

@LinuxBeaver
Copy link
Author

So, is the plugin like a .py file I put somewhere in Pysol to get the game.

yes sure. I'll experiment with 1 deck and a 3 or 4 deck variation of picture gallery via the plugin.

@joeraz
Copy link
Collaborator

joeraz commented Oct 4, 2023

Yes. A plugin is just a .py file you can stick in your plugins folder to add an additional game, or content. See https://pysolfc.sourceforge.io/doc/plugins.html

I'll set something up and get back to you soon.

@joeraz
Copy link
Collaborator

joeraz commented Oct 5, 2023

Here you go - this contains a copy of the Picture Gallery code, along with a simple one-deck, three-deck, and four-deck version.
picturegallerytest.zip

@LinuxBeaver
Copy link
Author

Ok, I got the (Plugin) picture galleries in the game list. Thanks!

@LinuxBeaver
Copy link
Author

I played several games of three and four deck PG, nice.

image

But you are right, 1 deck just doesn't come out. Unless of course modification exist such as possibly 1 deck PG with a 2,3, and 4 in their correct slots. But I'm not sure if that would increase the likelyhood of winning the game.

@joeraz
Copy link
Collaborator

joeraz commented Oct 7, 2023

That lines up with my thoughts. I'll make a note to put the three and four deck versions in the main gamedb.

If you want to try a version where the twos, threes, and fours are pre-dealt to the right piles, the _shuffleHook from the game Mount Olympus could probably be easily rewritten to do that.

@joeraz
Copy link
Collaborator

joeraz commented Nov 5, 2023

I added the three and four deck versions to the main app. We might be close enough to having enough picture gallery variants now to give them their own category.

Would you like to continue reviewing one-deck variants to try and come up with one that works, or should we leave it be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants