HNHacker News
TopNewBestAskShowJobs

pkstn

760 karma · joined May 9, 2015

Senior web developer. Creator of RE:DOM, Deck of Cards. https://github.com/pakastin

[ my public key: https://keybase.io/pakastin; my proof: https://keybase.io/pakastin/sigs/Hc6PdXGGGE6Q2wtbt2nqz2s4OyQwuHrpyoRWIlBWraY ]

submissionscomments
pkstn··on Multiplayer Deck of Cards
Fixed now!
pkstn··on Multiplayer Deck of Cards
That's weird. It might've had a bug. Now enhanced a lot and should work so much better!
pkstn··on Multiplayer Deck of Cards
That's actually something I've already tested out, so probably coming soon! Hit test + long-press-and-drag should do it!
pkstn··on Multiplayer Deck of Cards
I will add a chat which will show game log..and probably a optional turn "token" too
pkstn··on Multiplayer Deck of Cards
I will open source this – let's hope people will create customized cards/decks!
pkstn··on Multiplayer Deck of Cards
Whoops, sorry about that – fixing now!
pkstn··on Multiplayer Deck of Cards
Haha, wow that's crazy – fixing this now!
pkstn··on Multiplayer Deck of Cards
Layout editor is something I've had in mind too – will work it!
pkstn··on Multiplayer Deck of Cards
Both

I have lots of ideas how to make it even more fun! And will open source it also soon..

pkstn··on Multiplayer Deck of Cards
Yeah, I’ll make that better..
pkstn··on Multiplayer Deck of Cards
I will make shuffle to only shuffle the deck and add ”Collect” button this evening..
pkstn··on Multiplayer Deck of Cards
I will add possibility to create more decks and jokers..

The old version actually gives you jokers when you click all kings in a row (easier to do if you click ”by suit” first)

pkstn··on Multiplayer Deck of Cards
Cool wow, yeah! I’ve thought about chat feature..
pkstn··on Multiplayer Deck of Cards
Haha yeah, I was lucky to get that
pkstn··on Multiplayer Deck of Cards
Others have requested chips too, so will add. But first need to open source
pkstn··on Multiplayer Deck of Cards
I changed the design of faces, the previous font had too similar 3 and J
pkstn··on Multiplayer Deck of Cards
I will open source it soon here: https://github.com/pakastin/deck-of-cards
pkstn··on Multiplayer Deck of Cards
Fisher yates yeah! Server is the single-source-of-truth, so no way to peek cards
pkstn··on Multiplayer Deck of Cards
Oh, just the deck without picked cards? I could add ”Collect” button next to ”Shuffle”.

It’s easy to do, but I’m on mobile now – will do today.

pkstn··on Multiplayer Deck of Cards
Oh damn, I’ll fix that ASAP
pkstn··on Multiplayer Deck of Cards
node.js + express + MongoDB + socket.io
pkstn··on Multiplayer Deck of Cards
I completely redesigned the card faces – 3 and J was hard to distinguish..

https://deck.of.cards

pkstn··on Multiplayer Deck of Cards
Thanks! Here’s how they’re done: https://medium.com/@pakastin/javascript-playing-cards-part-3...
pkstn··on Multiplayer Deck of Cards
Maybe, let’s see..
pkstn··on Multiplayer Deck of Cards
Server is the single-source-of-truth and only share the info about card value/suit when clicking your own card or common cards
pkstn··on Multiplayer Deck of Cards
Not possible, client-side doesn’t have the information
pkstn··on Multiplayer Deck of Cards
It is done on server-side
pkstn··on Multiplayer Deck of Cards
Yeah, that’s how it work! Will need to add help/tutorial there..
pkstn··on Multiplayer Deck of Cards
I will open source it soon!
pkstn··on Would you prefer solid price vs. freemium model for vector maps?
Probably not for you then :)

I was just looking for this kind of service myself, but couldn’t find.. Having solid price no matter the traffic and nice up-to-date vector map tiles.

← PreviousPage 5 of 8Next →