Get the demo folder
Contains
2048.apk (official v1.3.3 build, MIT), this guide, and license attribution.Prerequisites
The nowrun CLI, installed and connected:Deploy it — 3 steps
--bindwrites the new app’sgame_idtonowrun.json, so later commands don’t need-a.-av/-vcare just labels on the deploy.- Step 2 returns a submission id; pass it to step 3.
- Deploys are async:
statusshowsprogresswhile the cloud build runs, thensuccesswith a play URL. Open it in any browser — the app is running in the cloud and streaming to you. Share the link with anyone.
For an AI agent
Run top to bottom. Add--json to any command for machine-readable output.
- With
--json, each command prints{"ok": true, "data": {…}}. Read thesubmission_idfromdeploy’sdata, and the play URL fromstatus’sdataoncejob_statusissuccess. - Poll
statusevery ~15–30s;job_status: progressmeans the build is still running — keep polling, don’t re-deploy. - Unsure about a flag? Ask the CLI:
nowrun help --jsonandnowrun <command> -h.
Deploy a different app
Any APK works. Grab one from an open-source project’s releases, then create + deploy with that app’s details:
Most F-Droid games are GPL; if you’re okay with copyleft there’s a much wider selection — download the APK from the releases page or F-Droid and deploy it with step 2 above.
Troubleshooting
Not logged in— runnowrun init -t <token>(get the token from nowrun.io).- Deploy rejected / something missing — run
nowrun validateand fix what it flags. statusstays onprogress— that’s the cloud build running; keep polling.
License
The bundled2048.apk is the unmodified official build of the open-source 2048 Android game by Jerry Jiang (tpcstld) and contributors, redistributed under the MIT License. No affiliation with or endorsement by the project is implied.