VelvetShuffle - a clean solid starter for Card Games including original mini-games

Hi everyone!

This is VelvetShuffle, a Three.js showcase featuring several original mini card games built around a tactile deck of cards.
You can pick a game mode from the top-left selector.

My goal was to create a responsive experience that feels good on both mobile and desktop.
Beyond the games themselves, I aimed for a clean, well-commented architecture to provide a solid “starter kit” for anyone looking to build card-based projects.
This can be extended to traditional games like Blackjack or Poker.

image

Just a few highlights:

  • On-demand rendering
  • Procedural atlas / no external texture dependencies
  • Dynamic layout - the elliptical fan system that automatically adjusts based on hand size
  • Game math - includes algos for calculating optimal moves (LNDS Longest Non-Decreasing Subsequence for sorting efficiency, and rank-inversion counting)

Live Demo on CodePen →

I’d love to hear your feedback. Which game mode did you find most enjoyable?

2 Likes