Build an app for Ibadan Life
Every phone in the game has an app store: the App Store on an iPhone, the Play Store on Android, with the same apps in both. The apps in it are built by people who live here. This page is for code apps: one HTML file that runs inside the player's phone and can ask for their name, take a payment, and remember things.
Build it with AI
Paste one of these into Claude Code, Codex or another coding agent, in an empty folder. It carries what the agent needs from this page, with today's numbers, and a checker the agent runs on what it writes.
Build a phone app for Ibadan Life
One HTML file for the store on every player's phone. The whole bridge, the frame's rules, an example, a checker to run, and how to submit.
Building it another way
Build a game for the arcade
One HTML file for the arcade, with a score on a board. The game's bridge, the limits, an example, a checker to run, and how it is submitted.
Build an app that keeps saves, a board and achievements
For a developer outside the city: an app in the phone whose progress, scores and achievements are kept with Arena54. The hosted calls, what the player is asked, an example and a checker.
Building it another way
Build an app that reads its player's money history
For a developer outside the city: an app in the phone that shows a player their own balance and money rows, with their yes. The two calls, what the player is asked, what such an app may never do, an example and a checker.
Building it another way
Read a player's own ledger
A script or a server that reads your own money rows with a token you make, and checks the audit log's state. The addresses, the limits, and a stand-in to test against.
Building it another way
Building from outside the city, to submit through an Arena54 developer account? Arena54 keeps its own prompts for that, with its API: developers.arena54.com/llms.txt.
Your own ledger as an API. Read your own money rows from a script or a spreadsheet, with a token you make and can revoke. How it works, and its prompt.
Three ways to publish
- Build one in the phone: no code. A quiz, directory, poll, price list, tip jar or countdown, typed into a few boxes.
- Link to your site: something you built and host yourself. It opens outside the game.
- Upload code: the rest of this page.
First take the App developer job (it works from home and needs a laptop). Then open the phone's store and its second tab: Developer on an iPhone, Play Console on Android. Your first 3 publishes are free; after that each costs Ẹ20,000. You can have five apps in the store. Every app is read and tried by a person before it goes live, and again whenever you change its file, permissions or icon picture.
Ideas worth building
Some work with today's bridge; the rest need something it does not have yet, named on each, and turn into “Build it now” the day it does. Open one for the steps. Every app is one HTML file that talks to the game only through the bridge below.
Tutor and courseBuild it now
Lessons with quizzes, a course unlocked with one payment, your progress kept, a certificate at the end.
Uses: player, charge, storage · how to build it
- Write each lesson as a section of the page and each quiz as a short list of questions with the right answer.
- On load, ibadan.storage.get("paid"): if it is not "yes", show lesson 1 free and an Unlock button.
- Unlock calls ibadan.charge(price, "Full course"); when it resolves, storage.set("paid", "yes").
- After each quiz, save the score with storage.set("lesson-3", "8/10") so the player picks up where they left off.
- When every lesson is passed, draw a certificate with ibadan.player().name and today's date.
Personal ajo / esusu trackerBuild it now
Keeps your own contribution rounds: how much, which week, whose turn, what you have paid.
Uses: player, storage · how to build it
- A form for the group: members' names, the amount and the start week.
- Save it as JSON in one key: storage.set("group", JSON.stringify(group)) (2,000 characters at most).
- Work out whose turn it is from the start week and today's date; show the list with paid and owed.
- A Paid button per week saves the tick. The app never holds or moves the pot: members pay each other in the game.
Street games against the phoneBuild it now
Whot, ludo or ayo against a computer player, with your best results kept.
Uses: storage · how to build it
- Draw the board with HTML and CSS or a <canvas>; keep the rules in plain JavaScript.
- Write a simple opponent: pick the move that captures most, with a little randomness.
- Save wins, losses and the current game with storage.set, so a closed app resumes the match.
- Use ibadan.toast for a win, and ibadan.close for a Quit button.
Budget plannerBuild it now
Type in your income and spending by category; see where it goes each week and how much is left.
Uses: storage · how to build it
- Keep the month as one JSON value: storage.set("month", JSON.stringify(rows)).
- Group by category and draw simple bars with HTML or SVG.
- Warn when a category passes the limit the player set.
CV and cover-letter builderBuild it now
Fill in a short form, pick a layout, get a clean CV and a letter to copy.
Uses: player, storage, charge (optional) · how to build it
- A form for jobs, school and skills; save the draft with storage.set.
- Show the CV in two or three layouts drawn in HTML.
- Optionally sell premium layouts with charge(price, "CV layout").
Workout and step planBuild it now
A daily plan (push-ups, a walk, stretches) with a tick for each and a streak.
Uses: storage · how to build it
- List the day's exercises; tick each one as done.
- Save the ticks and the streak count by date with storage.set.
- Show a calendar of the month with the days done.
Quiz trainerBuild it now
Practise questions for an exam or a licence test, with a score and the questions you got wrong.
Uses: storage, charge (optional) · how to build it
- Put the questions and answers in the file.
- Shuffle a set of ten; save the wrong ones with storage.set for a second round.
- Sell more question packs with charge, if you like.
Budget and net-worth coachBuild it now
Sorts your own spending into rent, food and fares, sets budgets, and tells you where your money went this week.
Uses: ledger, storage · how to build it
- Ask for ledger and storage when you publish. The player is asked once, and can take it back.
- ibadan.ledger.me() gives the balance; ibadan.ledger.rows({ limit: 100 }) the newest money rows, each with when, its kind, the amount and the balance after (pass before: the last id for the next page).
- Group the rows by kind into rent, food, fares and the rest, and draw a bar for each week.
- Keep the player's budgets with storage.set and warn when a group passes its budget.
- Read-only: an app cannot move money with this, and it has no internet, so what it reads stays on the phone.
Neighbourhood watchBuild it now
Report a robbery, a NEPA cut or a bad road in your area; others upvote it.
Uses: player, shared · how to build it
- Ask for player and shared when you publish. ibadan.player() gives the area, so each report can carry it.
- Post a report: ibadan.shared.put("reports", { area, kind: "nepa", text, at: Date.now() }). The player is asked once; 30 posts an hour, 2,000 characters a row.
- Show the area's reports: ibadan.shared.list("reports", { limit: 50 }) gives the newest first, each with its id, who posted it (by), its data and when; keep those for the player's area.
- An upvote is a row of its own: shared.put("votes", { report: id }); count them from shared.list("votes"). A player changes or removes only their own rows (shared.update, shared.remove).
- Add a Report button on each row: ibadan.shared.report(id). Three players' reports hide it.
Property listings and rent managerBuild it now
Rooms with pictures and prices, applications, rent each month and reminders.
Uses: player, homes, shared, storage · how to build it
- Ask for player, homes, shared and storage when you publish.
- ibadan.mine.homes() gives the homes the player owns (id, area, size, levels, what was paid, rent paid until) and the one they rent (house, area, rent, until).
- A landlord lists a room with ibadan.shared.put("rooms", { home: id, area, price, text }); everyone using the app reads them with shared.list("rooms").
- An application is a row too: shared.put("applications", { room: rowId, note }); the landlord filters shared.list("applications") for their rooms.
- Remind each player of their own rent date from mine.homes().renting.until. Rent itself is still paid in the game; the app only shows and reminds.
Event ticketing with a door checkBuild it now
Tickets sold with charge, a code for each buyer, check-in at the venue.
Uses: charge, storage, here · how to build it
- Ask for charge, storage and here when you publish. Name the venue by its place key (for example mapo-hall).
- Sell a ticket with ibadan.charge(price, "Ticket"); when it resolves, keep it with storage.set("ticket", JSON.stringify({ event, at: Date.now() })).
- At the door, call ibadan.here("mapo-hall"): it answers { here, place } from the game's own reading, true only when the player is inside or within 60 m. The player is asked once.
- Only when here is true and the ticket is kept, mark it used with storage.set and show the pass. A screenshot of the pass at home does nothing: the check is the server's.
- ibadan.here is limited to 30 checks in ten minutes per player.
Small-business till and stockBuild it now
Record sales, track stock and margins, a report each day.
Uses: sales, storage · how to build it
- Ask for sales and storage when you publish.
- ibadan.mine.sales() gives the player's open business (kind, name, area, premises, what is in the till) and its money rows from the last 30 days: when, what kind and how much, never who bought.
- Add each day's rows into a report: takings, draws, and the margin against the stock costs the player keeps with storage.set.
- Track stock by hand with storage: what was bought in and what is left; warn when something runs low.
Ride-hailing dispatcherNot yet
Matches riders with player drivers nearby, quotes a fare and takes it with charge.
Needs: where nearby players who opted in are, and shared data · how to build it
- The fare screen and charge work today; matching needs both missing pieces.
Food delivery marketplaceNot yet
Several player kitchens, one cart, a courier who picks up and delivers.
Needs: paying several sellers in one order, shared data · how to build it
- A single kitchen can sell today with charge (the money goes to the app's developer).
Job board with escrowNot yet
Pay set aside when a gig is posted, released when the work is confirmed.
Needs: money held by the game, never by the app · how to build it
- Not possible safely until the game holds the money.
Live auction houseNot yet
Timed auctions, outbid alerts, the winner pays and the item is delivered.
Needs: money held by the game, live updates, shared data · how to build it
- Not possible safely until the game holds bids.
Shares in player businessesNot yet
Buy and sell shares in businesses players run, priced from what they earn.
Needs: business earnings and settlement by the game · how to build it
- Not possible until the game settles trades.
The file
- One HTML file, up to 200 KB, with its CSS in
<style>and its JavaScript in<script>. - No outside files: scripts, stylesheets, fonts and images from other addresses will not load. Put pictures in as
data:URLs. - It runs in a locked frame with no address of its own. It cannot read the game's cookies or storage, reach the network (no
fetch), submit forms, open windows or move the page. The only way out is the bridge below. - Design for a phone screen about 360 px wide. A strip above your app always shows its name and yours, and tells players never to type a password into an app.
The bridge
The phone adds ibadan to your page before your code runs. Every call returns a promise; a refusal rejects it with an Error whose message you can show. Declare what you need when you publish; a call you did not declare is refused. At most 20 calls in any 10 seconds.
ibadan.player()resolves with { name, area }
The player's username and the area they are in now (its short name, such as "bodija"). Needs "See your name and the area you are in". The phone asks the player once per app; if they say no, the promise rejects. They can take it back from the app's page.
ibadan.charge(amount, note)resolves with nothing
Asks the player to pay a whole number from 1 to Ẹ5,000. Needs "Ask you to pay (you confirm every time)". The phone shows its own sheet with your app's name, your username, the amount and your note (up to 80 characters) every time; your button can never move money by itself. It resolves once paid and rejects if they decline, can't pay, or your app has charged them Ẹ20,000 in the last 24 hours. You get 70%.
ibadan.storage.get(key)resolves with string or null
Reads a value you saved for this player. Needs "Keep a little of its own data for you" (no sheet: it is your app's own notes, listed on its page).
ibadan.storage.set(key, value)resolves with nothing
Saves a string for this player. Keys up to 40 characters, values up to 2,000, and 20 keys per player. A full shelf still updates keys it already has.
ibadan.toast(text)resolves with nothing
A short message over your app for 3 seconds (up to 120 characters).
ibadan.close()resolves with nothing
Closes your app and returns the player to their phone.
A starter to copy
The same file sits behind "Use the starter" in the upload form. Declare "See your name and the area you are in" and "Ask you to pay (you confirm every time)" for it to work.
<!doctype html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>body{font:16px system-ui;margin:16px;color:#f3e9d7;background:#1b2430}button{font:inherit;padding:10px 14px;border-radius:12px;border:0;background:#9fe0b8}</style>
<h2 id="hi">Hello</h2>
<button id="buy">Buy pure water (50)</button>
<script>
// ibadan.* is added by the phone. Every call returns a promise.
ibadan.player().then(function (p) { document.getElementById("hi").textContent = "Hello " + p.name + " in " + p.area; }).catch(function () {});
document.getElementById("buy").onclick = function () {
ibadan.charge(50, "Pure water").then(function () { ibadan.toast("Paid. Cold one coming."); }).catch(function (e) { ibadan.toast(e.message); });
};
</script>To try it before review, open it from your own page in the store: a developer can run their own app while it waits. You can't pay yourself, so test a charge with a friend once it is live.
Getting into the store, and staying there
- Say what the app does honestly in its one line. Pick a category (Games, Food, Money, Getting around, Music and fun, News and gist, Tools, Other) and, if you like, an icon picture (square, it is shrunk to 128 px).
- An app that pretends to be the game, asks for a password, hides what a payment is for, or runs heavy work in the background is turned down or taken down.
- Players rate the apps they install and can report them. 3 reports from different players hide an app until an admin has looked.
- Every app of yours approved in a week is a ticket in Monday's developers' lottery (Ẹ50,000 plus a share of the week's publish fees, up to 3 tickets each).
- Each week there are four awards: most installed, top earner, best new app and players' choice, each worth Ẹ20,000. Winners are announced on the street, in the Gist and on X.