PANCREAS INC. Play the game

Manual Pancreas Division · A browser game

The automated line is dead. You are the line now.

Pancreas Inc. is a satirical resource-management game about keeping a factory alive with the one organ that never asked for the job. Fourteen working days, four budgets, three departments and a cake problem HR refuses to acknowledge.

No installs No account A new shift every day
Shift report Day 1 / 14
118
mg/dL · blood glucose
Stable
14
Working days
3
Departments
5
Resources
0
Dependencies

01The premise

A management game where the machinery is you.

The beta cells have been made redundant. The factory still has to run. You are the manual pancreas: approve production, answer the office, and let metabolism settle the bill every evening. The tone is deadpan corporate satire; the interface is hand-drawn comic panels.

Every day starts cold. You pick one production order — insulin, glucagon or maintenance — then a card arrives: a cake in the break room, an auditor with a folder, a sprint review that will not end. You choose one of three responses, and the body does the accounting.

Resources drain, glucose drifts, departments wear down. Cross the wrong line and the deck is interrupted by a Code Red. Let a department reach zero and the board grants one final warning — exactly one, for the whole quarter.

Survive fourteen days and the board approves a small plaque and no budget increase. That is the win condition. It is also the joke.

02The loop

One shift. Three decisions.

A day is deliberately small: choose the line, read the card, pick a response. The consequences are not small — metabolism recalculates everything before the next morning.

1

Set the line

Crank insulin, crank glucagon, or run maintenance. A line cranked twice in a row wears out and yields less; maintenance resets both lines. An all-nighter buys both lines at once, twice per quarter — if your cortisol can take it.

Order · +20 insulin, −7 glucagon, +3 cortisol
2

Face the card

Each card offers three responses with their effects written on them. Anything you cannot pay for is locked. The CGM upgrade adds a forecast: the glucose each option would leave you with before you commit.

Response · 3 options, costs visible
3

Let the body balance the books

Metabolism adds drift, drains insulin and glucagon, raises adrenaline, clears cortisol and wears departments down. Departments lose ground fastest when glucose is far from 125 mg/dL — calm days are cheap, dramatic days are not.

Nightly · drift, drain, wear

02bOne card, no stakes

Try a card.

This is a real card from the deck, with its authored effects scaled the way the game scales them. Pick a response and watch the glucose line move. No metabolism, no emergencies, no consequences — the actual game is one click away.

Pick another response to compare.

Floor 4 — break roomCard 01 · today's deck

Surprise birthday cake

A cake has appeared in the break room with your name on it. You have never met the person who organized this. She is watching you from behind the printer.

BG 118 · Mood 70. Pick a response.

02cInside the game

Hand-drawn panels. Real decisions.

No mockups: these are screenshots of the game running from static files. Comic panels, printed labels, and a mascot who has read the job description and has concerns.

The Pancreas Inc. title screen: the masthead, the line 'The automated line is dead. You are the line now.' and a pink pancreas mascot in a tie.
01 · Cover — clock in, no account
A day in progress: day 1 of 14, share price €54, status stable, and the production orders for insulin, glucagon and maintenance.
02 · The line — day 1 of 14, €54
The Payday at the Bakery card, with three priced responses and the mascot commenting in a speech bubble.
03 · A card — every cost is printed

03The systems

Four numbers, one organ, no margin.

Every panel on the screen is a budget you can overspend. Glucose is the one that files a complaint immediately.

Blood glucose, 40–400

The working band is 70–180 mg/dL. Inside it, departments recover a little and the share price likes you. Outside it, drift compounds and stress starts eating the staff.

4070180300400
Below 60Code Red: hypoglycemia
70 – 180In range · departments recover
Above 300Code Red: hyperglycemia

Hitting 40 or 400 is not a warning. It is an ending: you pass out, or facilities informs the board that the factory has “achieved syrup”.

Five budgets

InsulinLowers glucose drift. The main line you crank.
INS
GlucagonRaises glucose. Also the emergency injection.
GLU
AdrenalineRises every day; empty tanks hurt mood.
ADR
CortisolStress. High cortisol adds drift and damages departments.
COR
BudgetPetty cash. Buys permanent upgrades, not points.
BUDGET

Brain

Executive function. At zero, the line runs backwards for a day before anyone notices.

Muscles

Lifting, carrying, stairs. At zero, the remaining staff decline to carry anything, including the company.

Mood

Atmosphere. At zero it is described as “fine, I guess”, which the board classifies as catastrophic.

04Failure modes

When the body interrupts the meeting.

Emergencies are not cards you can decline. They interrupt the deck, replace the day and ask what you are going to do about it right now.

BG below 60

Code Red: hypoglycemia

Protocol 15/15. Your vision has opinions, the room is performing a slow barrel roll, and the floor is noticeably closer than it was.

  • Fifteen grams of fast carbs — the reliable option.
  • A glucagon injection — effective, unpleasant, −25 glucagon.
  • Wait it out — the option that ends runs.
BG above 300

Code Red: hyperglycemia

Your blood has the consistency of syrup, your kidneys are writing a complaint, and your breath smells faintly of fruit. The deck stops until you act.

  • Aggressive correction bolus — −30 insulin, −90 glucose.
  • Walk it off — twenty laps around the floor.
  • Water and hope — hydration is not a treatment plan.
One per quarter

Departments get a single warning. The first one to reach zero is pulled back to 8 and the board sends its one and only warning card. The second zero is the end of your employment, and the deck moves on without you.

Warn credits: 1
See it instead of reading it

Two seeded runs, no dates to wait for: the same deck the board uses.

05Petty cash

Spend the budget. It is not a score.

Five permanent upgrades, bought once with petty cash. They do not raise the share price directly; they change how the next ten days go.

UpgradeEffectCost
Espresso machineBribery, in bean form
+1 Mood every day
€18
CGM upgradeA sensor and a spreadsheet
Every option shows the glucose it leaves you with
€22
Unpaid internTechnically a coffee machine
Crank orders yield +6
€20
Discipline coachBoundaries, at scale
Cortisol clears 3 faster each day
€16
Gym membershipPaid annually, used twice
+1 Muscle every day
€14

06The scoreboard

A share price for a company that cannot be saved.

Everything you did lands in one number at the end. The board grades it, says something ominous, and offers you the same job again.

Share price

Department averages, glucose in range, leftover budget and resources, cortisol, and how long you lasted — all weighted into a 1–99 share price.

26 + (avg dept − 60) × 1.35 + 7 if in range
+ budget × 0.25 + stock × 0.08 − cortisol × 0.4 + days × 0.6
S88+
A74+
B60+
C46+
Dbelow 46

Six ways the quarter ends

Quarter survivedFourteen days, plaque approved, budget unchanged.
You passed outGlucose fell below 40. Found in the supply closet.
DKA eventGlucose cleared 400. Facilities calls it “syrup”.
Fired: brainThe department left with the good chairs.
Fired: musclesWalked out citing unpaid lifting.
Fired: moodDissolved. Atmosphere classified as catastrophic.

06bTry the maths

What would your quarter be worth?

Six inputs, the board's own weights, no upgrades and no mercy. Drag anything.

Share price €52 C

Formula: 26 + (avg dept − 60) × 1.35 + 7 in range + budget × 0.25 + stock × 0.08 − cortisol × 0.4 + days × 0.6

07Under the hood

A whole game as one pure function.

The state machine is a reducer with no DOM, no timers and no side effects. The interface is strings and hand-drawn SVG. Everything runs from static files — no build step, no framework.

// state.js — the game, as a pure state machine
export function reduce(state, action) {
  switch (action.type) {
    case 'START':  // fresh quarter
    case 'PLAN':   // order + card
    case 'PICK':   // effects, metabolism,
                     // warnings, endings
    case 'BUY':    // petty cash
    case 'RESTART': // same job, new seed
  }
  return state; // invalid actions change nothing
}
01
Pure reducer

reduce(state, action) returns the next state; the UI never mutates it.

02
String rendering

ui.js turns a state into comic panels — no virtual DOM, no framework.

03
Hand-drawn SVG

Every illustration and icon is a pure function returning SVG markup.

04
Seeded deck

Same cards for everyone today; pin a seed with #seed=20261201.

05
Static files

ES modules and CSS. No dependencies, no install, no build.

Run it: python -m http.server 8787 --bind 127.0.0.1
or npm start, then open http://127.0.0.1:8787/ for this manual
and http://127.0.0.1:8787/play.html for the game.

08Your turn

The line is cold. Clock in.

Fourteen days, one organ, and a board that will absolutely ask questions. The whole game runs in the browser in about a minute per shift.