23 · In-house · Game · App development
Pushwise: one puzzle game, one codebase – in the browser, on Mac, Windows, iPhone and iPad.
Push crates onto targets, in five art styles, with a level editor and a leaderboard whose solutions the server replays itself. The inspiration is the classic Sokoban, a game we have enjoyed for years. Pushwise is also our test bed for a question many clients ask: how far can a single codebase take you across web, desktop and mobile? Currently in beta.
Own project (in-house) – built by vona for itself · project from 2026
- Puzzle game
- TypeScript
- Vite
- three.js
- Canvas 2D
- Web Audio
- Tauri 2
- Capacitor 8
- Xcode
- Fastify
- SQLite
- GitHub Actions
- Claude Code
- 1 codebase
- for browser, Mac, Windows, iPhone and iPad – the same game logic also runs on the server
- 2 days
- from the first commit to a working beta on all five platforms, built with Claude Code
- measured
- 153 levels
- in four packs, each tested for solvability and the lowest possible number of pushes
01 · Idea
It started with a game that has stayed with us for years: Sokoban, invented by Hiroyuki Imabayashi in 1982 and published by the Japanese studio Thinking Rabbit, which went on to become known on PCs around the world in the late eighties and nineties. The idea is strikingly simple: a character pushes crates onto targets, pulling is not possible, and one badly placed crate can make a level unsolvable. We wanted to turn it into a game of our own, made for today, that feels the same on every device – and, along the way, find out how much a shared codebase can really cover, from the game logic and graphics to the server. Pushwise is an independent implementation with its own name, design and levels, free, with no ads and no tracking. “Sokoban” is a registered trademark of its owner; Pushwise is not affiliated with it.
02 · One codebase, five platforms
Game, editor and leaderboard are one TypeScript project. In the browser it runs as a web app with a service worker, so it also works offline. For Mac and Windows, the same web app sits in a Tauri 2 shell: the Rust side is about 60 lines, and the operating system's web view does the rendering. That keeps the apps small, and updates arrive signed through the built-in updater. On iPhone and iPad the game runs with Capacitor 8, built in Xcode. Whatever differs per platform, such as the server address or share links, lives in a single file.
03 · Components – and why
Game logic without dependencies: rules, undo and redo, the level format, the solver, dead-end detection and share codes live in their own package of plain TypeScript. The same package runs in the game, in a web worker and on the server, so the leaderboard checks solutions with exactly the rules the game is played by.
No UI framework: screens and menus are plain HTML and CSS, built with Vite. Svelte was the original plan; for a game with only a few screens, going without is smaller and faster.
Five art styles behind one interface: low-poly 3D uses three.js (about 126 KB compressed). Neon, pixel art, cartoon and blueprint draw on a shared canvas base and need about 3 KB each. Each style only loads when you pick it and can be switched in the middle of a level. The game generates its sounds itself with Web Audio; there are no audio files.
Heavy lifting in the background: the solver behind hints and the level generator run in a web worker so the game stays smooth. The generator only produces levels that are provably solvable.
Server: Fastify 5 with Zod to validate every input, on Node 24 with its built-in SQLite database – no native add-ons. It runs as a system service on our own server. A submitted solution is just a sequence of moves; the server replays it before it enters the leaderboard. It stores a freely chosen name and an irreversible hash of the device ID, and requests are rate-limited.
Delivery: on every push, the tests run in GitHub Actions. The web version is then copied to the server via rsync, with a key that can only write to that one folder. The desktop apps are built in GitHub Actions too: Windows as an installer, Mac as a universal DMG for Apple silicon and Intel. Fonts and libraries are hosted on our own server; nothing loads from third-party CDNs.
04 · Built with Claude Code
Pushwise was built in close collaboration with Claude Code – roughly 60 percent Claude Code and 40 percent us. From the first commit on 2 November 2026 to a working beta on all five platforms took two days and 51 commits.
Our part: we developed the concept and made the key decisions – game idea, name, platforms, a game without ads, the leaderboard and community levels. From five playable prototypes we chose the art styles, and we tested and refined the feel, controls and design over many rounds: in the browser, on the Mac and on our own iPhone and iPad. We set up the server, access, app signing and delivery, and approved every release ourselves.
Claude Code's part: writing most of the code, adding tests, finding bugs and proposing alternatives with reasons – for example Capacitor instead of Tauri for iOS, because it worked right away without its own Rust tooling for iOS. The decisions were ours.
53 automated tests act as a safety net; one of them checks every level for solvability and that its stated best score matches the lowest possible number of pushes. The game itself contains no AI.
Pushwise is a beta: 153 levels in four packs are playable, more will follow, as will the App Store release.
Play in the browser ↗ · All apps and downloads ↗
05 · Workflow
- One codebase: Game logic in plain TypeScript, in game, worker and server, Five art styles, Differences in one file
- FROM PUSH TO FIVE PLATFORMS: Push (code on GitHub) → Tests (53 tests, every level checked for solvability) → Browser (web app with service worker) → Mac & Windows (Tauri 2, signed updates) → iPhone & iPad (Capacitor 8, Xcode)
- A FAIR LEADERBOARD: Submit a solution (as a move sequence (LURD)) → Server checks (replays every solution, then the leaderboard)
06 · Insights / macOS app
07 · Insights / iPhone app
Related services
We can do this for you, too.
The services behind this project — with examples, process and frequently asked questions.
App development
Native and cross-platform apps for iOS and Android — and desktop apps for macOS and Windows. Thought through in UX and design, strong in performance.
Learn more →Development
Web development, app development and custom software — tailor-made, performant and built around your business. We build digital products that keep working: cleanly built, easy to maintain and ready to grow.
Learn more →Keep reading
Background from practice.
Blog
Why We Build Our Website Statically
Static with Astro: little JavaScript, high speed, a small attack surface and the limits of this approach. When frameworks are the better choice.
Read more →Blog
Vanilla JS vs. Frameworks: The Honest Trade-Off
React, Vue, Svelte — great tools. But not always the right tool for the job. When we deliberately decide against them and why.
Read more →Blog
AI Agents in Everyday Work: Uses, Limits and Safety
What sets AI agents apart from chatbots and workflows, when which solution fits, which fields of use have proven themselves and which safety rules you need from the start.
Read more →Next project
Your project here?
Tell us about your problem. The first conversation is of course free of charge and without obligation.
Request a project →