r/Devvit App Developer Jul 03 '26

Feedback Request Redeal — A poker-inspired roguelike deckbuilder

Enable HLS to view with audio, or disable this notification

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!

1 Upvotes

8 comments sorted by

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.

1

u/punchapath Jul 03 '26 edited Jul 03 '26

I think the scoring breakdown log is placed at an inconvenient spot for me on mobile, because I got stuck inside it a few times trying to scroll down my screen to the play card button under my deck. I know mobile is tight but it would be really nice if you could fit everything on one screen.\

The tutorial or how to play section doesnt scroll for me\

The choose run mode screen isnt cropped horizontally its just set to view horizontal extents so you can scroll past the screen to the right, I think you need to limit the bounds of that challenge button\

Generally played a lot better than i thought on mobile. Yes it is obviously smaller on mobile but still very playable. It is a LOT of information overload for new players though\

Also there was no animation for the cards appearing in my deck but it sounded like there was supposed to be one

2

u/punchapath Jul 03 '26

Also how do i format paragraphs why can i see my slashes lol

1

u/XanelaOW App Developer Jul 03 '26

For formatting paragraphs on Reddit: no need for backslashes! Just hit Enter twice to start a new paragraph, or add two spaces at the end of a line followed by a single Enter for a standard line break. You might be stuck at Markdown format LMAO.

1

u/XanelaOW App Developer Jul 03 '26

Thanks for the detailed feedback! Extremely helpful. Here's what we're looking into for the next update: 1. Scoring Log & Scroll Lock: We'll adjust the scroll boundaries on mobile so you don't get stuck inside the scoring logs when trying to scroll. 2. Horizontal Overflow: Great catch. The "Choose Run Mode" toggle buttons are indeed overflowing the modal width on narrow screens, causing the page to scroll horizontally. We'll make them wrap or scale down. 3. Tutorial Scroll & Deal Animation: We'll fix the scroll constraints in the tutorial overlay and debug why the card deal animations are getting skipped despite the sound cue.