[WIP] Four Colour Klondike Solitaire

Started by WillLem, November 07, 2024, 09:37:13 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

WillLem

A 4-colour deck consists of Black Spades, Red Hearts, Blue Diamonds and Green Clubs:



This site provides a way to play normal Klondike Solitaire using this deck.

However, I'd like to program a version which allows the cards to be placed on each other such that any suit can be placed on any other suit, since the cards are all different colours; red and black is no longer relevant here.

Question, though: would this even work as a viable, playable game, or would it become too trivial? What other tweaks would need to be made to the rules?

Proxima

Sure. It's still a playable game, just with a higher percentage of winnable deals. Card solitaires vary widely from winnable deals being common to very rare without this making any of them "less playable"; FreeCell, for example, has a very high percentage of winnable deals, but the player still has to win them!

WillLem

Quote from: Proxima on November 07, 2024, 09:58:20 PMSure. It's still a playable game, just with a higher percentage of winnable deals.

That's what I was hoping. Should be worth pursuing, then!

namida

Every move that's legal in regular Solitaire (assuming Klondike, although this likely generalises to most Solitaires) remains legal in this variant; it just allows some additional moves too. So, any deal that is possible under standard (two color deck) rules is also solvable under this, but some additional deals will likely become solvable too. The "Vegas style" scoring in particular would be a bit easier, I'd suspect.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

WillLem

#4
Finally got around to starting this today!



It's playable - just! - but is very janky and needs a lot of work.

For example, the entire tableau is currently repainted after every click; this should be easy enough to sort out, but I also need to implement card-dragging, flip animations, sounds and plenty of other optimizations to make it smooth and satisfying to play.

One step at a time.

WillLem

Optimized the rendering so the game runs smooth as butter now. Still needs work to make it feel like a professional game, but it's definitely on its way!

Added a move counter, score (yet to be implemented) and a timer. Also added the ability to Undo last move and reset the current game:



More to come!

jkapp76

Nice!
I think the clubs on the cards should be black instead of green. Green looks weird as its the same as the table color, it looks like the clubs are cut out of the card. It looks good, I just thing a different color than the table would be better... or a different table color.
...Jeremy Kapp

namida

Green for clubs and blue for diamonds is pretty standard for a four-color deck. Perhaps changing the table color, or the exact shade of green, is a better option?
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)