[HN Gopher] Deck.of.cards
       ___________________________________________________________________
        
       Deck.of.cards
        
       Author : edent
       Score  : 83 points
       Date   : 2023-04-11 21:42 UTC (1 hours ago)
        
 (HTM) web link (deck.of.cards)
 (TXT) w3m dump (deck.of.cards)
        
       | jkingsman wrote:
       | Oh man this would be awesome to have as a shared web space where
       | I could play arbitrary card games with friends like a hyper
       | restricted Tabletop Simulator.
       | 
       | Nice and slick as is, though
        
         | nneonneo wrote:
         | https://playingcards.io/ worked well for me and my family
         | during the pandemic.
        
         | shp0ngle wrote:
         | If you remove the "/old" from the URL, you can do _just that_
        
           | nneonneo wrote:
           | Multiplayer didn't seem to work - nothing synced, buttons
           | didn't work, and I couldn't even flip cards (Firefox).
           | 
           | Single-player seems fine though.
        
       | allenu wrote:
       | Really cool stuff. I like how "heavy" the cards feel during the
       | animation.
       | 
       | I've been working on something similar, but for arbitrary index
       | card notes and played around with some very basic animations. You
       | can see a quick video of it here [1]. After I got a basic
       | prototype working, there was just something satisfying about
       | collecting all the cards, shuffling them, and then re-
       | distributing them into a grid.
       | 
       | I noticed that deck.of.cards doesn't have a flip animation, but
       | maybe that's a good thing. The typical animation you see when a
       | card is just flipped by rotating about one of the axes just
       | "feels" wrong to me. It breaks the illusion somehow, but maybe
       | there's a better way to do it.
       | 
       | [1] https://mastodon.social/@allenu/109952125506805902
       | 
       | Edit: You may need to hover over the GIF in the link to get the
       | animation to start. Kind of unexpected behavior.
        
       | alexthehurst wrote:
       | I tried setting up a game of solitaire (on desktop with a mouse)
       | and it got tedious really fast. What I wished for right away was:
       | 
       | - Ability to drag a selection region and move multiple cards
       | together (like, say, the deck) - Ability to align cards to each
       | other (I found myself testing modifier keys while dragging to see
       | if this was a hidden feature, but alas.)
        
       | karaterobot wrote:
       | Very satisfying animations.
       | 
       | It needs some form of multi-card selection, so that I can grab a
       | stack of cards and move, shuffle, or flip them as a group. I
       | tried to play a game of solitaire, then got to the part where you
       | can reuse the cards in your discard pile, and realized that there
       | was no way to have it shuffle those cards, or even to just flip
       | them all over.
        
       | owenpalmer wrote:
       | Super cool, works well on mobile
        
         | HDMI_Cable wrote:
         | One (very small) nitpick on mobile: it's very hard to press the
         | 'Sort' button, as the 'Fork me on GitHub' logo covers most of
         | the button. Other than that, this is great!
        
           | noizejoy wrote:
           | Small nit-pick: what you're describing would seem to be more
           | "small screen size" rather than "mobile"
        
       | taylorbuley wrote:
       | * * *
        
       ___________________________________________________________________
       (page generated 2023-04-11 23:00 UTC)