massivedev0
pac-fpom
TypeScript

FPOM Meme Hunt: a lightweight Pac-Man-style promo game for Fake Pepe On Massa.

Last updated Jul 9, 2026
106
Stars
1
Forks
0
Issues
0
Stars/day
Attention Score
74
Language breakdown
TypeScript 53.9%
JavaScript 40.1%
CSS 4.2%
HTML 1.3%
Shell 0.5%
Files click to expand
README

Pac-FPOM: Fake PEPE on Massa Meme Hunt game

FPOM Meme Hunt is a lightweight Pac-Man-style browser game built for FPOM promotion.

Public Links

FPOM Links

Project Layout

  • index.html - app entry page
  • src/ - runtime client code (game.js, styles.css)
  • assets/ - game images and logos
  • backend/ - FPOM rewards API (Fastify + Prisma + SQLite)
  • tests/playwright/actions/ - Playwright client action payloads
  • logo-and-info/ - source brand assets and campaign text

Local Run

npm run serve

open http://localhost:4177

Smoke Check (Playwright client)

npm run test:smoke

Note: test:smoke expects $CODEXHOME/skills/develop-web-game/scripts/webgameplaywrightclient.js.

Rewards API for claim flow

After round win the game can submit reward claims to backend API

  • Local default API: http://127.0.0.1:8787
  • Override with query param: ?rewardsApi=https://your-backend.example
  • Override with global variable before game.js: window.FPOMREWARDSAPI = "https://your-backend.example"
  • Promo tweet URL is loaded from backend GET /public/config (XPROMOTWEET in backend env)
  • Optional promo tweet override: ?promoTweet=https://x.com/account/status/123
  • Debug shortcut button Victory is visible only on localhost with ?dev=1
  • Claim form requires Massa address (or wallet connect) and X profile URL in format https://x.com/account
  • Top-right Connect Wallet button opens wallet picker (Massa Wallet / Bearby) similar to DEX UX
  • Before claim confirm, frontend uploads buffered run telemetry to POST /session/event
Backend quick run:
cd backend
npm install
npx prisma db push
npm run dev

What Matters Before Production

  • Run the backend behind a reverse proxy and process manager on Ubuntu, not as a raw dev process
  • Keep backend/.env secrets only on the server and rotate payout keys if they were ever exposed locally
  • Back up the SQLite reward database regularly or move to PostgreSQL if traffic grows
  • Monitor Slack alerts, payout failures, low-balance warnings, and GitHub Actions deploy status
  • Rate-limit public reward endpoints at the edge if claim traffic starts to grow
  • Test the game on real iPhone and Android devices, especially orientation lock and touch controls

© 2026 GitRepoTrend · massivedev0/pac-fpom · Updated daily from GitHub