One codebase for web and native
Notes on Block Slide’s architecture
Live
Overview
Why the game logic sits apart from the UI in pure TypeScript, and how one codebase serves both web and native.
Released2025-12-29
StatusLive
Platforms—
Notes
The key decision
Game logic stays in pure TypeScript separate from the UI; React renders snapshots only. That makes it testable and keeps platform differences out of the rules.
Platforms and money
- Difficulty-tuned boards and a global leaderboard
- Custom block art, limited undo, autosave
- Touch-first controls with a responsive UI
- AdSense on web and AdMob on native, kept apart to avoid policy overlap