Skip to content

Type a term, e.g. API, Shopware or SEO.

    ← All projects

    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

    1. One codebase: Game logic in plain TypeScript, in game, worker and server, Five art styles, Differences in one file
    2. 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)
    3. A FAIR LEADERBOARD: Submit a solution (as a move sequence (LURD)) → Server checks (replays every solution, then the leaderboard)
    One codebase, five platforms: on every push, 53 automated tests check the game logic, the server and every level. The web version then goes to the server, and GitHub Actions builds the desktop apps for Mac and Windows with signed updates. For iPhone and iPad, the same code becomes an Xcode project with Capacitor. For the leaderboard, the game only sends the move sequence of a solution; the server replays it with the same game logic before it counts.

    06 · Insights / macOS app

    • Low-poly 3D on the Mac: crates, targets and character in three.js, counters and style picker on the left
    • The same level in the Neon style – drawn on the shared canvas base
    • Pixel art: flashlight glow on the night shift
    • Cartoon with a night sky
    • Blueprint: the level as a technical drawing, the planned path dashed
    • Low-poly in light mode with a generated level
    • Level generator: pick size, number of crates and difficulty – every generated level is guaranteed solvable
    • Editor with a generated level: tools on the left, check, solvability and save on the right
    • Start screen asking for a name for the leaderboard – no account needed
    • In-game menu: style, camera, light and dark, sound

    07 · Insights / iPhone app

    • Home: continue, choose a style, progress
    • Tap controls with a hint: tap a crate, tap a target, the character pushes by itself
    • The same level in the Neon style
    • Level generator on the phone
    • Tutorial level path with stars
    • Level packs and community levels

    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 →

    Newsletter

    News from the vona workshop.

    AI tools we actually use, our weekly AI review & insights from our projects – short, practical and without spam.