Multiplayer Deck of Cards
deck.of.cards
deck.of.cards
Edit: Oh wow, it's not missing! If you put the card in top of the player icon, only that player can reveal it, nice!!
That is very clever indeed! A long while ago I started thinking about how to turn Klondike solitaire into a multiplayer game. I wrote a bit of code. Put it aside for a while. Wrote more code. Bought a domain. Wrote a little bit more code. And then stopped.
The problem in my case is that I still haven't decided quite how to make it multiplayer.
Kudos to pkstn for being clever and executing the idea well too.
By the way, if anyone has any ideas for how multiplayer solitaire could work, let me know in a reply to this comment :)
I've had two different possible ideas in mind so far:
1) Do it similar to "Twitch plays Pokemon". Everyone can input the next move. And I think the action taken should be consensus-based. Even then someone could try and ruin it though by just controlling a lot of players. With Twitch plays Pokemon they were able to complete the game eventually even with the people working against the goal. But with a short game like Klondike solitaire it will be very easy for someone to ruin it for everyone. Even if the game has undo.
2) Everyone plays alone but they compete in real-time against others. However, bots would likely beat everyone and ruin the fun of that.
So I think neither of the two initial ideas I had were good enough. I think something clever needs to be done.
I suppose that one could incorporate Klondike as part a bigger overarching world where you do Klondike "battles" against either other players or against individual NPCs by yourself, or as a team against NPCs or something. But then the question becomes what is the motivation for having Klondike be part of the game at all? And the problem of bots being able to beat everyone would still be hard to get rid of I think.
Here is the site I put up for mine: https://klondike-mmo.com/. None of the buttons on my site do anything, heh :P
The old version actually gives you jokers when you click all kings in a row (easier to do if you click ”by suit” first)
FWIW. Made me think, why have a boundary at all? Even better, why not have a snap-to grid you can toggle? A preset layout (save option?) which best lays out your gameplay.
Great job.
If this would be open-source and there was an easy way to modify some of the actions to fit the most common operations to a particular game, it would likely start as an engine for tons of other games/websites (Pokémon, Magic the Gathering, Star Realms,...).
It’s a shame playing Magic requires a lot more features than, say, Bridge — this is hardly exhaustive but in addition to needing to be able to put dice on cards, you need to be able to select and reveal cards at random from all zones, manipulate the top of your deck, create token cards, and tap/untap cards. I feel that this presents a large UX problem.
It also offers chat communication and webcam over webrtc!
Mainly what I see is the face cards are rendered HUGE and the pips in the centers of the cards seem jumbled.
I tried playing solitaire, but gave up when it came time to flip through the deck 3 cards at a time. Going through the first time would be OK. Resetting for subsequent passes would be really painful.
I will create different game modes, solitaire is definitely one of the first ones!
It’s easy to do, but I’m on mobile now – will do today.
I have lots of ideas how to make it even more fun! And will open source it also soon..
Frex, my last draw of three cards was: Ace of space, King of hearts, 8 of diamonds, but the king had an 8 instead of a K in the corners.
Edit: Aw. HN markup removes suit symbols :(
Further edit: It looks like some of your cards are drawn with one image superimposed on another. So actually the figures that have the numbers in the corner are a figure with another card that is not a figure on top.
Should be a quick fix :P
Last edit I promise: It looks like this:
Never considered emulating actually just having a deck of cards on the page, using the same level of trust you have between people irl. Any plans to add stuff like chips or scoring?
I've wanted to have poker games with my team (which is distributed) for a long time. This is 90% of the way there.
Update - I just found pokerchips.io. Check it out; it has a simple interface which does everything you'd need.
https://www.solipsys.co.uk/images/OddPlayingCards.png
Pretty sure it's wrong to have numbers and Kings on the same card.
What is the key scheduling used for multiplayer?