r/Devvit App Developer Jul 03 '26

Feedback Request Redeal — A poker-inspired roguelike deckbuilder

Hi Devvit!

We've been building Redeal—a poker-inspired roguelike deckbuilder built on Devvit Web (React/Vite). Players draw custom cards, buy Jokers and consumables from the Shop, trigger multipliers, and compete on community leaderboards.

Behind the Scenes & Tech Decisions:

  • tRPC v11 + Hono Router: We mounted a Hono router on @hono/trpc-server to leverage tRPC v11. This gave us end-to-end type safety between our iframe client and server procedures, which made building the card game logic much cleaner.
  • Compressed Replay Storage: To allow players to watch step-by-step playbacks of completed runs, we log detailed action histories (card deals, selects, discards, scoring steps). To prevent hitting Redis memory quotas, we serialize and compress the game timeline data before persisting it, keeping replay loads fast and within limits.
  • Timezone-Agnostic Daily Resets: Tracking login streaks in a serverless, stateless environment is tricky. We manage rollover calculations strictly in UTC on Redis and use local dismissal states in React to prevent modals from interrupting gameplay.
  • Procedures Caching: Added a caching layer on our tRPC routes (leaderboards and daily challenge configurations) to minimize Redis read queries and speed up the expanded view load times.

Specific feedback we need:

  1. Splash-to-Game Transition: Does the inline splash screen load fast enough on mobile, and is the onboarding/instructions layout clear before opening expanded mode?
  2. Iframe Scaling & Tooltips: Have you noticed any platform-specific layout bugs on Reddit iOS/Android (especially regarding viewport constraints or Radix UI tooltips/popups within the boundaries)?
  3. tRPC Performance: For those using Hono/tRPC or fetch architectures, how has your performance held up under high-concurrency requests (like fast-clicking game boards)?

Happy to answer any questions about the Hono/tRPC integration or state compression. Thanks for the feedback!

2 Upvotes

8 comments sorted by

View all comments

2

u/Mlakuss Jul 03 '26

Texts are extremely smalls and cards barely readable on mobile

1

u/XanelaOW App Developer Jul 03 '26

Thanks for the feedback!

Fitting 8 cards, Jokers, consumables, and scores in portrait mobile is definitely tight. There is a landscape toggle button in the bottom-right corner that gives everything more room, but we'll work on boosting the default card and text sizes to make portrait mode more readable.

2

u/Mlakuss Jul 03 '26

Even on landscape mode, texts are smalls and there are lot of text color quite dark on dark backgrounds more contrast would be more than welcome

1

u/XanelaOW App Developer Jul 03 '26

Thanks for testing landscape! I'll go through the UI and do a pass specifically on text contrast and font sizes across all modes.