Porter: Long, Short and Trading Wars on Your Phone
A free phone game with financial analytics

Porter is a free, mobile-friendly learning environment to learn how supply and demand works on free markets. Buy, sell and bomb rivals to achieve a goal in a limited amount of time.
Today, AI simplifies building apps to learn about almost any subject, and learning by doing works better than reading. That’s the idea behind Porter: a market game for your phone’s browser. You get one broker, $1,000 and five minutes to trade three items (Alpha, Beta and Gamma) against rival brokers.
Play it now: it’s free, needs no install or sign-up, and works offline.
The name? Porter is a dark beer, and the app is dark by default.
Meet the market
Porter shows the market as a live map: sellers on the left, buyers on the right, and brokers in the middle. Every trade sends a coloured dot from the seller to the buyer.
The whole market runs on three items: Alpha, Beta and Gamma. Think of them as commodities, like copper or wheat. Their prices start between about $40 and $90 a unit, then move with supply and demand. And no, finance fans, they have nothing to do with alpha returns or option gamma. Here they’re just names.
You win if your net worth reaches $7,000, or if you’re the richest broker when time runs out. If it falls to -$1,000, you go bankrupt.
You never press “buy” or “sell”, and that’s on purpose. In a real market, you can’t control the big picture either. So instead, you give your broker a mandate, a set of rules to follow:
- A strategy: Spread (earn the gap between bid and ask), Strangle (buy most of one item, then sell it at a high price), Co-op (team up with other brokers and share profit) or Monopoly (sell one item cheaper than everyone else).
- A risk appetite: how much it bets each turn, and how far it can go short.
- A hold appetite: how much stock it keeps, betting on higher prices.
Small changes in these settings give you very different markets.
Controlling everything isn’t fun.

Long, short and the scoreboard
Going long means you buy and hope the price rises. Going short means you sell units you don’t have and buy them back later (covering), hopefully cheaper. In Porter, a short position shows as a negative number on the broker’s card, and it pulls your net worth down when prices rise. A high-risk broker can owe up to 25 units of each item.
At the end, Porter explains how the winner won. In one test run, a high-risk Spread broker reached the goal in under two minutes, mostly by selling short.

Read the market like an analyst
The Analytics tab turns the market into dashboards, with three views.
The Exchange dashboard is one of the most interesting parts of the game.
The Exchange view shows where the market is going:
- Supply and demand over time, with summary numbers and trend lines.
- Market depth: units offered against units wanted, for each item.
- Prices: the volume-weighted average price of each item.
- Bid–ask spread: a narrow spread means a liquid market, and a wide one leaves room for brokers to profit.

The Risk view shows the numbers a risk manager would track:
- Failure rate: the share of trades that failed to settle.
- Broker concentration: the Herfindahl–Hirschman index, which US regulators use to review mergers. Above 1,800, a market counts as highly concentrated.
- Broker stock (unsold inventory), volatility (price swings) and supply cover (units on offer for each unit wanted).

The Traders view ranks every broker by net worth, and shows its trust score and coalition.

Behind these numbers, Porter follows real market rules. A trade happens at the price of the order already on the book. The exchange rejects orders that a broker can’t pay for or deliver. Without paid market data, brokers can’t see their rivals’ orders. And failed trades cut trust, which sends clients to other brokers.
Your moves, and what they do to the market
During a game, the Moves menu gives you seven moves. Each one costs cash and needs time to recharge:
- Smear, $100: cuts a rival’s trust, so its clients move to other brokers.
- Bomb, $150: blocks a rival for a short time. Its orders leave the book, and its clients have to wait.
- Isolate, $50: blocks one seller or buyer for a short time. No one can trade with it, so supply or demand drops for a moment. For now, only you have this move.
- Break, $250: ends a coalition, so its members compete again.
- Join: pay a member’s price to enter its coalition, and share its data and profit.
- Leave, free: your profit is yours again, and so is all the risk.
- Shield, $1,000: protects you from attacks for the rest of the game, but costs your whole starting stake.
The moves make it fun to learn how markets with many players work.
It’s also interesting to watch when rivals use these moves, and they love to use them on you. In the image at the top, UJB wears a red smear ring, and the leader, EQB, wears a smear ring and an orange bomb ring.
Coalitions teach the best lesson, because they act like cartels. The image at the top shows four of them. Members never undercut each other, so concentration grows in the Risk view, and outsiders cut their fees to compete.
Shared profit also brings the free-rider problem: when members pay in more than they get back, they leave.
Behind Porter
Claude Code, an AI coding agent, wrote the whole game in a couple of days. AI agents are capable, but their code needs direction. A 2,000-line rules file, CODING.md, sets strict rules like writing tests first and following software design patterns. Code that follows these rules is easier to change later, and that saves tokens, the units you pay the AI for.
The rival brokers follow fixed rules, not a language model (an AI like Claude). That keeps Porter cheap to run. Besides, most market decisions are just numbers: you don’t need an AI model to chase a profit goal. A future version may change that.
The whole market runs in your phone’s browser, with no server.
Porter is free for anyone. It’s a good way to learn how trading markets work, especially through the dashboards: which risks to watch, which numbers to track, and how players affect each other. And because you can go long and short, you always feel your market exposure, just like on a trading desk.
Next versions will bring more difficulty levels and more options, based on feedback. So try it: open Porter, pick the Scarce supply scenario (far more buyers than sellers), choose Monopoly with high risk, and try to survive five minutes. Then share what you think.
Explore
- Short (finance): how short selling works in real markets, with its history and risks.
- Order book: the list of buy and sell orders that every exchange keeps.
- Bid–ask spread: why the gap between bid and ask measures liquidity and trading costs.
- Herfindahl–Hirschman Index: the US Department of Justice explains the concentration measure behind Porter’s Risk view.
- Free-rider problem: the economics behind coalitions that fall apart.