Skip to content
AI Primer
workflow

Amir Mushich releases a free location-based game template with an in-store reward

Amir Mushich's free template turns a business location into a flying game with an in-store reward. He reports about 11 hours of work, including the template, and roughly $300 in API-equivalent usage.

3 min read
Amir Mushich releases a free location-based game template with an in-store reward
Amir Mushich releases a free location-based game template with an in-store reward

TL;DR

  • Fly-in turns a business address into a branded browser game; the release post links a free template customized with three answers.
  • The coffee-shop demo sends players after five beans, then onto the roof for an in-store reward, as the launch video demonstrates.
  • The first build took roughly 11 hours including the template, with about $300 in API-equivalent usage rather than a per-token bill, according to the cost breakdown.

The renderer makes its city from just two images, without a game engine or 3D library. AirCoffee, the demo brand, is fictional, and its free-coffee code is not a live offer.

Five beans over Brooklyn

Amir Mushich says he rebuilt the streets around a coffee shop, including 7,970 buildings, in a day. The repository places the demo in DUMBO, Brooklyn.

Three questions for a coding agent

Mushich described the human input as chatting with Claude about the client's needs. Setup in Claude Code, Codex or Cursor follows the agent playbook:

  1. Establish whether this is the user's business or a speculative mock-up.
  2. Collect three answers:
  3. Generate the copy and neighborhood from OpenStreetMap, then show the selected shop building for confirmation.
  4. Playtest locally, package for static hosting, and generate QR codes for the window, tables and social channels.

Static hosting and coffee artwork

Published games are about 2.5 MB and run on any static host without server code, according to the deployment notes.

The template separates editable settings from fixed art:

  • Location: any address with buildings on OpenStreetMap, with adjustable map area and centre.
  • Branding: headlines, reward copy, colours, rooftop signs and a towed banner.
  • Collection target: three to nine tokens.
  • Fixed artwork: pixel style, typography, takeaway cup and coffee-bean tokens.

Commercial use is permitted under the Apache 2.0 license. The repository also requires retaining its NOTICE file and on-screen OpenStreetMap attribution.

QR codes at the counter

Each QR channel adds a suffix to the reward code, according to the README:

  • -W: window.
  • -T: table.
  • -S: socials.

The best detail is the low-tech counter handoff: kit.py codes generates daily code lists that staff can print and mark at redemption. The route and code change each day.

Eleven hours and an API estimate

Mushich reports about eight hours for the game and demo video, or roughly 11 with the reusable template and repository.

His $300 figure is an API-list-price estimate, mostly cached-context reads. He ran the project in Claude Code rather than paying per token, and the usage also included research into games for business efficiency.

A Bond-style video experiment

Mushich also shared a Bond-style video, crediting this stack in a follow-up:

  • Source photo: @egeberkina.
  • Video layer separation: LTX-2.5 Alpha Gen.
  • “Volumetric timeline”: Three.js.
  • Execution: Claude Opus 5.5.
  • Orchestration: Claude Fable 5.2.

Further reading

Discussion across the web

Where this story is being discussed, in original context.

On X· 2 threads
Three questions for a coding agent1 post
A Bond-style video experiment1 post
Share on X