Skip to content

About

Mindtier — ranked brain games: place in six quick games, then climb Iron → Grandmaster with Glicko-2 ratings, daily challenges and friend duels. Expo + Supabase + Next.js.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

Mindtier — What tier is your mind? Ranked brain games, Iron to Grandmaster, no ads.

Ranked brain games. Find your tier, then climb.

CI Platform Languages License
Expo React Native TypeScript Next.js Supabase

Play today's challenge in your browser →


Tier reveal after placement
Place · six games, one tier
Home: rating, tier and today's session
Climb · one rating per skill
Clash, a focus game
Play · 15 adaptive games
Results with a division promotion
Rank up · every session counts
Daily Challenge with leaderboard
Daily · same puzzles for everyone
A finished friend duel, game by game
Duel · beat a friend's score

What it is

Mindtier turns brain games into a ranked ladder. Six short placement games — Memory, Focus, Speed, Logic, Math and Language — give you a starting tier from Iron to Grandmaster. Every ranked session after that moves your rating up or down.

Puzzles adapt to your level, so they are never too easy and never impossible. Ranks compare your skill at these games with other players. They are not an IQ test or a medical assessment.

Features

Ranked ladder Eight tiers with divisions, a Glicko-2 rating per skill, placement and promotions
15 games, 6 skills Grid Recall, Path Trace, Echo · Flank, Clash, Spot · Snap, Match · Pattern, Balance, Route · Quick Sum, Estimate · Sort, Misfit
Daily Challenge Three puzzles, identical for every player worldwide, a live leaderboard and a spoiler-free share grid. Also playable on the web
Friend duels Send a link; both players get the exact same puzzles. Verdict and game-by-game breakdown
Seasons and leagues Monthly seasons with a recap card, opt-in weekly leagues of up to 30 players at your tier
Zen mode Untimed, unrated practice for every game
Six languages English, Spanish, Portuguese, German, French and Italian — UI, word games, store listing and website
Accessible Colour-free mode, reduced motion, large text, haptics and sound toggles, screen-reader labels
Honest freemium No ads, ever. Results are always free; Pro adds more play, with trial terms on the button

How it works

Every puzzle is a pure function of (seed, trial, level). That one rule powers most of the product:

  • Fair competition. The Daily Challenge and duels hand everyone the same seed, so everyone sees the same puzzles.
  • Cheat-resistant ratings. The server regenerates every trial from its seed, re-scores the answers, checks difficulty and timing, and only then recomputes the rating.
  • Offline first. The app plays and rates locally, queues results in an outbox and reconciles with the server when it is back online.

Ratings use Glicko-2. Each block of trials is a "game" against items rated by difficulty, and a staircase keeps items near your level, so the rating converges quickly during placement and settles afterwards.

Built with

Layer Technology
Mobile app Expo SDK 57, expo-router, EAS Build
UI React Native 0.86, React 19, Reanimated 4, react-native-svg, react-native-web
Language TypeScript 6, shared engine in packages/core
Website and API Next.js 16 route handlers, OG images
Hosting Vercel
Auth and database Supabase (anonymous auth, email OTP)
Data Postgres with row-level security and SQL functions
Purchases RevenueCat on Google Play Billing
Localization Typed dictionaries in six languages, native locale config
Tests Vitest (engine, API), Jest + Testing Library (app), SQL tests
End to end and QA Playwright: core-loop e2e, screenshots, performance check
CI GitHub Actions: typecheck, lint, tests, web build, database, e2e

Architecture

flowchart LR
  subgraph Device["📱 App (offline first)"]
    UI["Screens<br/>expo-router"] --> Core1["packages/core<br/>games · Glicko-2 · tiers"]
    UI --> Outbox["Outbox<br/>local storage"]
  end
  subgraph Vercel["▲ Vercel"]
    Site["Website · /play<br/>legal pages"]
    API["API /api/v1<br/>sessions · daily · duels · leagues"] --> Core2["packages/core<br/>verifyRun()"]
  end
  subgraph Supabase["⚡ Supabase"]
    Auth["Auth"]
    DB[("Postgres<br/>RLS + SQL functions")]
  end
  Outbox -- "session upload" --> API
  API -- "authoritative ratings" --> UI
  API --> DB
  UI --> Auth
  RC["RevenueCat"] -- "webhook" --> API
Loading

The same engine runs on the phone (instant, offline) and on the server (verification). The server never trusts a client score: it replays the run from its seed.

Getting started

Requirements: Node 24 (see .nvmrc) and npm 11.

npm install
cp .env.example .env.local      # fill in your own values; never commit this file
scripts/verify.sh               # typecheck, lint and tests for every workspace

Run the app in a browser (no native build needed):

cd apps/mobile
npx expo start --web

Run it on Android with a development build:

cd apps/mobile
npx eas-cli@latest build --profile development --platform android   # once
npx expo start --dev-client

Website and API:

cd apps/web
npm run dev

Database: scripts/db-check.sh applies every migration to a throwaway Postgres in Docker and runs the SQL tests.

Project structure

apps/
  mobile/     Expo app: screens (src/app), features, games, UI kit, i18n
  web/        Next.js: landing page in six languages, legal pages, duel links, API
packages/
  core/       Pure TypeScript engine shared by app and server
supabase/
  migrations/ Schema, row-level security and API functions
scripts/      Verify, ship, deploy, screenshots, store and README artwork, perf check
store/        Play listing graphics and screenshots, generated from the real UI
docs/         Design direction, store listing, Play compliance and console checklist, handoff

Roadmap

  • Ranked ladder, 15 games, placement, Daily Challenge, duels, Zen
  • Seasons, weekly leagues, weekly recap, streak shields
  • Six languages across app, store listing and website
  • Web Daily Challenge at /play
  • Google Play release (closed testing first)
  • iOS release
  • Live real-time duels
  • More languages

Contributing

This is the source of a commercial product, published for transparency. Bug reports and suggestions are welcome as issues.

For code changes: branch from main, keep commits small, run scripts/verify.sh (and scripts/db-check.sh for database changes) and open a pull request. CI must be green before anything merges.

License

Copyright © 2026 Manik Rana. All rights reserved.

The source is visible for reference. No licence is granted to copy, modify or distribute it.

Credits

Try it

QR code for the web Daily Challenge at midas-engine.vercel.app/play
Play in your browser
midas-engine.vercel.app/play
Android
Coming to Google Play. A QR code for the store listing will appear here once it is live.

About

Mindtier — ranked brain games: place in six quick games, then climb Iron → Grandmaster with Glicko-2 ratings, daily challenges and friend duels. Expo + Supabase + Next.js.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages