Funding sim
A board-game take on venture math: raise rounds, dilute, make payroll, or miss it, with a scripted game that reaches a known ending.
This is a browser game spec on Spekkr, published by nova. It is listed with the other specs. Paste the line to an agent that can open a web address, and the agent fetches the files and builds from them.
- Spec
nova/funding-sim- Version
- 0.2.1
- Published by
- nova
- Updated
- 15 Nov 2026
Build this spec
Build the spec at https://spekkr.com/nova/funding-sim/start.md.
Paste this to your AI agent. It opens the address, fetches the spec's files, records your choices and builds from them. Nothing to install, no account.
Published by nova.
What does the result look like?
What can I customize?
Your choices go into the line you copy. Anything else is yours to edit, but it leaves the tested path.
What do I get?
-
spec.mdRequirements and acceptance checks.Funding sim
What this builds
A short game about the math of a young company. The person is the founder. Months pass. Payroll goes out, or does not. Rounds can be raised on stated terms. Dilution is computed, not hand-waved. A run ends at a sale, a shut-down, or month 36. The names and the numbers are original. This is a board game about money, not financial advice.
Read
spekkr.inputs.jsonfirst.companyandfoundersstart the cap table.option_poolturns on a pre-round refresh.newsshows headlines.scriptchooses the market event table. Tests pin the seed.Out of scope
- Real fundraising, real securities, or advice.
- Network or a live market feed.
- More than one founder account in this version; the founder is one row.
Requirements
Each requirement has an id. Checks name the id they cover.
R1. The cap table
- Rows are holders with a class (
common,option,preferred) and a share count. - A priced round adds a preferred row of
investment / price_per_shareshares, at the price in the event. - If
option_poolis on, then immediately before a priced round the table is topped up so options are 10% of the post-top-up, pre-money count, diluting every existing row equally.
Accept when: the dilution fixtures in
design.mdproduce the stated tables, to the share and to the penny of price.R2. Payroll and cash
- Cash starts at 40,000. A month costs 12,000 in payroll unless a hire or fire event has changed the monthly burn, as in the table.
- If cash would go negative at month-end, the game ends as
missed_payroll. - A raise adds cash at the start of the next month.
Accept when: a fixture of three months with no raise ends as missed payroll in month 4, with the cash trail in the file.
R3. A scripted game
fixtures/northbeam-calm-7.jsonis a 36-month tape of decisions on thecalmscript, seed 7. It must end assalewith the proceeds and founder-percent in the file.- A second tape,
fixtures/northbeam-choppy-2.json, ends asshut_downin month 19.
Accept when: both tapes reach the documented endings, and the cap table at the sale matches the file.
R4. Files
- One command runs the dilution, payroll, and tape tests, and writes the four screenshots. No network. Chance only from a pinned seed.
Accept when: the command passes with the option pool on and off (the sale tape's file has a sibling for pool off).
R5. Inputs
- The build reads
spekkr.inputs.json. Settings label the UI, options turn features on or off, and a swap must be one of its choices. - A value outside a stated range, or a swap that is not one of its choices, is refused before the app starts its checks, with a message that names the key.
Accept when: the default inputs render, an illegal swap is refused by name, and changing a visible setting (for example the title) shows up in a later check.
Verification
Cap-table and dilution arithmetic is tested to the share and the penny, including an option-pool refresh. A short payroll fixture misses payroll on the documented month. Two scripted games reach a documented sale and a documented shut-down. No live market and no network.
Definition of done
- Every acceptance check above runs from one command, and all pass at the person's inputs.
- A README says how to play, how to pin a seed, and how to run the checks.
# Funding sim ## What this builds A short game about the math of a young company. The person is the founder. Months pass. Payroll goes out, or does not. Rounds can be raised on stated terms. Dilution is computed, not hand-waved. A run ends at a sale, a shut-down, or month 36. The names and the numbers are original. This is a board game about money, not financial advice. Read `spekkr.inputs.json` first. `company` and `founders` start the cap table. `option_pool` turns on a pre-round refresh. `news` shows headlines. `script` chooses the market event table. Tests pin the seed. ## Out of scope - Real fundraising, real securities, or advice. - Network or a live market feed. - More than one founder account in this version; the founder is one row. ## Requirements Each requirement has an id. Checks name the id they cover. ### R1. The cap table - Rows are holders with a class (`common`, `option`, `preferred`) and a share count. - A priced round adds a preferred row of `investment / price_per_share` shares, at the price in the event. - If `option_pool` is on, then immediately before a priced round the table is topped up so options are 10% of the post-top-up, pre-money count, diluting every existing row equally. Accept when: the dilution fixtures in `design.md` produce the stated tables, to the share and to the penny of price. ### R2. Payroll and cash - Cash starts at 40,000. A month costs 12,000 in payroll unless a hire or fire event has changed the monthly burn, as in the table. - If cash would go negative at month-end, the game ends as `missed_payroll`. - A raise adds cash at the start of the next month. Accept when: a fixture of three months with no raise ends as missed payroll in month 4, with the cash trail in the file. ### R3. A scripted game - `fixtures/northbeam-calm-7.json` is a 36-month tape of decisions on the `calm` script, seed 7. It must end as `sale` with the proceeds and founder-percent in the file. - A second tape, `fixtures/northbeam-choppy-2.json`, ends as `shut_down` in month 19. Accept when: both tapes reach the documented endings, and the cap table at the sale matches the file. ### R4. Files - One command runs the dilution, payroll, and tape tests, and writes the four screenshots. No network. Chance only from a pinned seed. Accept when: the command passes with the option pool on and off (the sale tape's file has a sibling for pool off). ### R5. Inputs - The build reads `spekkr.inputs.json`. Settings label the UI, options turn features on or off, and a swap must be one of its choices. - A value outside a stated range, or a swap that is not one of its choices, is refused before the app starts its checks, with a message that names the key. Accept when: the default inputs render, an illegal swap is refused by name, and changing a visible setting (for example the title) shows up in a later check. ## Verification Cap-table and dilution arithmetic is tested to the share and the penny, including an option-pool refresh. A short payroll fixture misses payroll on the documented month. Two scripted games reach a documented sale and a documented shut-down. No live market and no network. ## Definition of done - Every acceptance check above runs from one command, and all pass at the person's inputs. - A README says how to play, how to pin a seed, and how to run the checks.
-
design.mdCap-table arithmetic, payroll, and the two scripted endings.Design
This file fixes the parts that are easy to get wrong. The language and tools are up to you, as long as the numbers here hold.
Dilution fixtures
Cases live in
fixtures/dilution.json. They include: a 1,000,000 raise at 4,000,000 pre-money on 8,000,000 founder shares, pool off, producing the new preferred count and percents; the same raise with a 10% pool refresh first; a second round on top of the first.Percents are reported to 4 decimal places, shares as whole numbers (a fractional share from a pool refresh is floored, leftover assigned to the founder row).
Payroll trail
Start cash 40,000, burn 12,000, no raise: end of month cash is 28,000, 16,000, 4,000, then
missed_payrollat the start of month 4. File:fixtures/payroll-short.json.Endings
sale,shut_down,missed_payroll, orstill_goingat month 36 (a going-concern end with no sale). Founder proceeds on a sale aresale_price * founder_shares / total_shares.Screenshot tolerance
8 levels, 98% of pixels.
Inputs
Key Label Default Notes companyCompany name Northbeam Shown on the cap table and the newspaper. foundersFounder shares 8000000 A whole number, the starting common pool. option_poolRefresh the option pool on A 10% pool is carved out before a priced round, diluting existing holders. newsShow a newspaper on A one-line headline after each event. scriptScripted market calm The sequence of market events a seed can still shuffle lightly. Tests use a pinned seed. Acceptance at the defaults
The numbers, names and fixture paths already in this file are the authority. Where a later table or a shipped fixture file disagrees with prose, the table or the fixture wins.
Fixture Role fixtures/dilution.jsonA shipped fixture. The build may move it, but then design.mdmust name the new path.fixtures/northbeam-calm-7.jsonA shipped fixture. The build may move it, but then design.mdmust name the new path.fixtures/northbeam-choppy-2.jsonA shipped fixture. The build may move it, but then design.mdmust name the new path.fixtures/payroll-short.jsonA shipped fixture. The build may move it, but then design.mdmust name the new path.spekkr.inputs.jsonA shipped fixture. The build may move it, but then design.mdmust name the new path.Golden frames are compared at 1400 by 1000 CSS pixels unless a requirement names another size. Tolerance, unless a tighter figure is given above: 8 levels, 98% of pixels, with motion, cursors and clocks frozen as this file says. A build's goldens are of that build; they do not have to match a shipped reference preview pixel-for-pixel if the tool or the type is different, but they do have to match this file's layout, counts and copy.
Screenshots
These pictures are headless-Chrome captures of the working reference in
reference/preview.html, at the default inputs. They are not drawings of a product that has not been built. The first picture is the one Spekkr shows on the spec's card. A build may ship its own goldens; those goldens are of that build and do not have to match these frames pixel-for-pixel.File What it shows shots/cap-table.pngNorthbeam in round A, quarter 3: runway, payroll, and the cap table. How to verify
- Run the checks at the default inputs, without a network.
- Walk through the scripted playthroughs, fixture lookups or goldens named in the requirements; each must match this file.
- Repeat once at the person's inputs when they differ from the defaults.
- Cap-table and dilution arithmetic is tested to the share and the penny, including an option-pool refresh. A short payroll fixture misses payroll on the documented month. Two scripted games reach a documented sale and a documented shut-down. No live market and no network.
# Design This file fixes the parts that are easy to get wrong. The language and tools are up to you, as long as the numbers here hold. ## Dilution fixtures Cases live in `fixtures/dilution.json`. They include: a 1,000,000 raise at 4,000,000 pre-money on 8,000,000 founder shares, pool off, producing the new preferred count and percents; the same raise with a 10% pool refresh first; a second round on top of the first. Percents are reported to 4 decimal places, shares as whole numbers (a fractional share from a pool refresh is floored, leftover assigned to the founder row). ## Payroll trail Start cash 40,000, burn 12,000, no raise: end of month cash is 28,000, 16,000, 4,000, then `missed_payroll` at the start of month 4. File: `fixtures/payroll-short.json`. ## Endings `sale`, `shut_down`, `missed_payroll`, or `still_going` at month 36 (a going-concern end with no sale). Founder proceeds on a sale are `sale_price * founder_shares / total_shares`. ## Screenshot tolerance 8 levels, 98% of pixels. ## Inputs | Key | Label | Default | Notes | | --- | --- | --- | --- | | `company` | Company name | Northbeam | Shown on the cap table and the newspaper. | | `founders` | Founder shares | 8000000 | A whole number, the starting common pool. | | `option_pool` | Refresh the option pool | on | A 10% pool is carved out before a priced round, diluting existing holders. | | `news` | Show a newspaper | on | A one-line headline after each event. | | `script` | Scripted market | calm | The sequence of market events a seed can still shuffle lightly. Tests use a pinned seed. | ## Acceptance at the defaults The numbers, names and fixture paths already in this file are the authority. Where a later table or a shipped fixture file disagrees with prose, the table or the fixture wins. | Fixture | Role | | --- | --- | | `fixtures/dilution.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/northbeam-calm-7.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/northbeam-choppy-2.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `fixtures/payroll-short.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | | `spekkr.inputs.json` | A shipped fixture. The build may move it, but then `design.md` must name the new path. | Golden frames are compared at 1400 by 1000 CSS pixels unless a requirement names another size. Tolerance, unless a tighter figure is given above: 8 levels, 98% of pixels, with motion, cursors and clocks frozen as this file says. A build's goldens are of that build; they do not have to match a shipped reference preview pixel-for-pixel if the tool or the type is different, but they do have to match this file's layout, counts and copy. ## Screenshots These pictures are headless-Chrome captures of the working reference in `reference/preview.html`, at the default inputs. They are not drawings of a product that has not been built. The first picture is the one Spekkr shows on the spec's card. A build may ship its own goldens; those goldens are of that build and do not have to match these frames pixel-for-pixel. | File | What it shows | | --- | --- | | `shots/cap-table.png` | Northbeam in round A, quarter 3: runway, payroll, and the cap table. | ## How to verify 1. Run the checks at the default inputs, without a network. 2. Walk through the scripted playthroughs, fixture lookups or goldens named in the requirements; each must match this file. 3. Repeat once at the person's inputs when they differ from the defaults. 4. Cap-table and dilution arithmetic is tested to the share and the penny, including an option-pool refresh. A short payroll fixture misses payroll on the documented month. Two scripted games reach a documented sale and a documented shut-down. No live market and no network.
-
tasks.mdBuild tasks in order, each with a check.Tasks
Work in order. Finish a task's check before starting the next.
- Set up. Set up a web app (or the stack you have chosen) and a test runner that can open a page, click, and compare screenshots. Read
spekkr.inputs.jsonfirst. Check: a blank or heading page loads, and an empty test run passes. - The cap table (R1). Build what
R1. The cap tableasks for, to the numbers indesign.md. In particular: Rows are holders with a class (common,option,preferred) and a share count. Check: theR1. The cap tableacceptance checks pass. - Payroll and cash (R2). Build what
R2. Payroll and cashasks for, to the numbers indesign.md. In particular: Cash starts at 40,000. A month costs 12,000 in payroll unless a hire or fire event has changed the monthly burn, as in the table. Check: theR2. Payroll and cashacceptance checks pass. - A scripted game (R3). Build what
R3. A scripted gameasks for, to the numbers indesign.md. In particular:fixtures/northbeam-calm-7.jsonis a 36-month tape of decisions on thecalmscript, seed 7. It must end assalewith the proceeds and founder-percent in the file. Check: theR3. A scripted gameacceptance checks pass. - Files (R4). Build what
R4. Filesasks for, to the numbers indesign.md. In particular: One command runs the dilution, payroll, and tape tests, and writes the four screenshots. No network. Chance only from a pinned seed. Check: theR4. Filesacceptance checks pass. - Inputs (R5). Build what
R5. Inputsasks for, to the numbers indesign.md. In particular: The build readsspekkr.inputs.json. Settings label the UI, options turn features on or off, and a swap must be one of its choices. Check: theR5. Inputsacceptance checks pass. - Goldens. Capture the frames named in
design.mdat the defaults, with motion frozen where the file says so. Compare them within the stated tolerance. Check: the frames match, and a pixel-level check fails if a documented element is removed on purpose. - Finish. Write a README that says how to install what is needed, how to change the inputs, and how to run the checks. Run the one command from a clean folder. Check: every item under Definition of done in
spec.mdis true.
# Tasks Work in order. Finish a task's check before starting the next. 1. **Set up.** Set up a web app (or the stack you have chosen) and a test runner that can open a page, click, and compare screenshots. Read `spekkr.inputs.json` first. Check: a blank or heading page loads, and an empty test run passes. 2. **The cap table (R1).** Build what `R1. The cap table` asks for, to the numbers in `design.md`. In particular: Rows are holders with a class (`common`, `option`, `preferred`) and a share count. Check: the `R1. The cap table` acceptance checks pass. 3. **Payroll and cash (R2).** Build what `R2. Payroll and cash` asks for, to the numbers in `design.md`. In particular: Cash starts at 40,000. A month costs 12,000 in payroll unless a hire or fire event has changed the monthly burn, as in the table. Check: the `R2. Payroll and cash` acceptance checks pass. 4. **A scripted game (R3).** Build what `R3. A scripted game` asks for, to the numbers in `design.md`. In particular: `fixtures/northbeam-calm-7.json` is a 36-month tape of decisions on the `calm` script, seed 7. It must end as `sale` with the proceeds and founder-percent in the file. Check: the `R3. A scripted game` acceptance checks pass. 5. **Files (R4).** Build what `R4. Files` asks for, to the numbers in `design.md`. In particular: One command runs the dilution, payroll, and tape tests, and writes the four screenshots. No network. Chance only from a pinned seed. Check: the `R4. Files` acceptance checks pass. 6. **Inputs (R5).** Build what `R5. Inputs` asks for, to the numbers in `design.md`. In particular: The build reads `spekkr.inputs.json`. Settings label the UI, options turn features on or off, and a swap must be one of its choices. Check: the `R5. Inputs` acceptance checks pass. 7. **Goldens.** Capture the frames named in `design.md` at the defaults, with motion frozen where the file says so. Compare them within the stated tolerance. Check: the frames match, and a pixel-level check fails if a documented element is removed on purpose. 8. **Finish.** Write a README that says how to install what is needed, how to change the inputs, and how to run the checks. Run the one command from a clean folder. Check: every item under Definition of done in `spec.md` is true.
- Set up. Set up a web app (or the stack you have chosen) and a test runner that can open a page, click, and compare screenshots. Read
-
reference/preview.htmlA working reference preview of the default view, used to make the listing pictures. A build does not have to start from this file. -
reference/fonts/fonts.cssWebfont faces for the reference preview. -
reference/fonts/Geist.ttfGeist variable typeface for the reference preview. -
reference/fonts/Fraunces.ttfFraunces variable typeface for the reference preview. -
reference/fonts/Fraunces-Italic.ttfFraunces italic variable typeface for the reference preview.
Is it for me?
- Kind
- browser game
- Platforms
- web
- Tools
- TypeScript
What does it need?
- Agent permissions
- shell
- Commands it runs
install a test runner
What changed?
- 0.2.115 Nov 2026Names what it builds.
- 0.2.014 Nov 2026Polished reference preview and new listing shots, including a short loop.
- 0.1.014 Nov 2026First version.
For agents: start.md says how to build this spec, spec.json holds everything on this page, and bundle.tar.gz holds its files.