Jump to content

[Showcase] CrimeMenu Text Game — server-authoritative persistent MMO on one small VPS


khavenue
 Share

Recommended Posts

Hi HTML5Gamedevs — solo dev here, sharing a persistent browser MMO I built and run:

https://crimemenu.com/?utm_source=h5gamedevs&utm_medium=organic&utm_campaign=launch-forums-2026q4&utm_content=showcase-thread

WHAT IT IS
A shared-world crime MMO: crimes, gangs, co-op heists, claimable territory, a live economy
(black market with supply/demand, sharemarket), and PvP. All state is server-authoritative;
the client is React + a PixiJS-rendered relationship graph, installable as a PWA.

STACK / ARCHITECTURE (the part this forum might actually enjoy)
• Backend: Hono (Node 24) + PostgreSQL (Prisma) + Redis, single long-lived process with
  Socket.IO for realtime (gang chat, presence, attack feeds).
• Frontend: React 19, TanStack Query, i18next (13 locales), PixiJS 8 for the rap-sheet
  relationship map (live graph of alliances/rivalries).
• Ops: one 2-vCPU VPS, Docker + Caddy, images built in CI (GitHub Actions → registry),
  migrations on container boot. Nightly Postgres dumps.
• Game systems: server-side economy with CAS-guarded stat writes (concurrent XP/money
  updates retry instead of clobbering), QStash-scheduled economy ticks (city sim hourly,
  racket income, market moves), and an AI heist director (plain-English plan → resolved
  action sequence) plus ~500 AI bot players in the shared economy.

THINGS I'D LOVE A SECOND OPINION ON
1. I keep all game ticks as idempotent scheduled jobs (hourly city sim, daily rollovers).
   Anyone here run into clock-skew/duplicate-tick issues at scale?
2. PixiJS: the relationship map redraws on data change; what's the best pattern for
   incremental graph updates vs full redraws at ~200 nodes?
3. Anyone serving PWA + account-based games — how do you handle iOS standalone and session
   expiry without wrecking retention?

SCREENSHOTS

[img]https://crimemenu.com/press/crimemenu-heist.jpg[/img]
[img]https://crimemenu.com/press/crimemenu-territories.jpg[/img]
[img]https://crimemenu.com/press/crimemenu-market.jpg[/img]
[img]https://crimemenu.com/press/crimemenu-leaderboard.jpg[/img]

Transparency: AI is used for the heist director, the bot players, and some art assets; all
game logic is hand-written.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...