Back to all work
PokéTFT
Online game · 8-player auto-battler · Teamfight Tactics rules, Pokémon lore, playable now.
A fan-made auto-battler where evolutions are star-ups, types are trait synergies and a type-effectiveness chart adds a combat layer. Eight players draft, equip and battle live, in the browser or as a desktop and mobile app. A non-commercial portfolio project.
Context
Auto-battlers are deterministic games with an economy, a shop, a board and simultaneous opponents, which makes them a good test of game logic and of keeping several clients in sync. The goal was a playable multiplayer game, not a prototype: matchmaking, accounts, a ranked ladder and a real roster.
How it works
- A pure, deterministic engine: Shop odds, economy, evolutions, synergies and combat live in plain TypeScript with a seedable random generator and no React, so they can be unit-tested and replayed identically on every client.
- Server-authoritative multiplayer: Firebase Realtime Database and Cloud Functions hold the match state, with a game browser, host migration and an authoritative match ending. Combat uses a canonical replay to remove desyncs between players.
- Accounts, rank and history: Accounts with a ranked ladder (LP), match history and a leaderboard, plus account deletion. Match history is saved even when a player closes the tab mid-game.
- Content depth: Game modes (Region Clash, gimmick modes, Double Up), 63 items with a crafting browser, augments tailored to the board, a Day Care to train a Pokémon over a few rounds, and per-species signature moves taken from real learnsets.
- Web, desktop and mobile: A static landing site and the game on separate Firebase Hosting targets, plus a native app through Tauri for Windows, macOS and Android.
What I built
- The whole game loop: shop, bench, board, economy, evolutions, traits, items, augments and auto-combat.
- An 8-player lobby with a game browser, AI opponents, spectating and a round timer.
- Accounts, a ranked ladder, match history and a leaderboard.
- The full Pokémon roster, with an in-game tutorial, options menu and master volume.
- A landing page with live gameplay, a privacy policy and honest notes (for example that the desktop app is unsigned).
Engineering & quality
- A test folder for the game logic: combat determinism, economy, ranking, co-op flow and a simulated full game, plus an AI strength check and a training script for the computer opponents.
- Security audits fixed in public pull requests: ranking rules, spoofed player stats, account deletion and leaderboard staleness.
- Fully localized interface and a reduced-motion setting for combat effects; sounds are mirrored to the game's own origin so they do not depend on a third-party host.
- Launch hardening: host-migration races and NaN guards on level clamps were found and fixed before release.
Timeline
- 14 Jun 2026: Project starts, with the multiplayer foundation on Firebase Realtime Database in the first days.
- 15-16 Jun 2026: Full roster, game browser, options menu, accounts only.
- 20-22 Jun 2026: Game modes, board-tailored augments, full localisation and accessibility.
- 24-25 Jun 2026: Landing page redesign and a security audit pass.
- 26 Aug 2026: Latest changes.
In numbers
- Commits (279 by me): 286
- Pokémon: 995
- Items: 63
- Players per match: 8
Next.js 16 · React · TypeScript · Zustand · dnd-kit · PixiJS · Firebase (Realtime Database, Functions, Auth, Hosting) · Tauri
Play in the browser
Landing page
View the code