mergers-game/packages/engine/src
Mike Isom defff1ab97 Add holdings visibility levels for cash and total share count
Replace the public holdings checkbox with a holdingsVisibility select:
private, cash, cashAndShareCount or public. publicHoldings: true keeps
meaning full public, and normalized options store holdingsVisibility
only at the two new levels, so historical init logs are unchanged.

stripSecret shows opponents' exact cash from the cash level and adds a
total shareCount at the share-count level while per-chain holdings stay
hidden. Net worth and scores still need fully public holdings. The buy
step may skip for lack of cash whenever cash is public.
2026-11-04 06:59:53 -07:00
..
test Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
autoplay.spec.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
autoplay.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
bank.spec.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
bank.ts Add an optional two-tiles-per-turn variant 2026-10-27 16:33:50 -06:00
board.spec.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
board.ts Add an optional two-tiles-per-turn variant 2026-10-27 16:33:50 -06:00
bonuses.spec.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
bonuses.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
config.ts Add an optional two-tiles-per-turn variant 2026-10-27 16:33:50 -06:00
end.spec.ts Show projected net worth and public-game scores 2026-10-24 22:57:43 +02:00
fourhands.spec.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
hidden.spec.ts Add holdings visibility levels for cash and total share count 2026-11-04 06:59:53 -07:00
legal.ts Add configurable three, four or five share purchase limit 2026-10-29 21:17:50 +01:00
limited-log.spec.ts Harden limited-log privacy and prepare optional variants release 2026-10-28 19:19:07 +01:00
limited-log.ts Harden limited-log privacy and prepare optional variants release 2026-10-28 19:19:07 +01:00
merger.spec.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
merger.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
moves.ts Add configurable three, four or five share purchase limit 2026-10-29 21:17:50 +01:00
net-worth.spec.ts Add holdings visibility levels for cash and total share count 2026-11-04 06:59:53 -07:00
net-worth.ts Add holdings visibility levels for cash and total share count 2026-11-04 06:59:53 -07:00
options.spec.ts Add holdings visibility levels for cash and total share count 2026-11-04 06:59:53 -07:00
options.ts Add holdings visibility levels for cash and total share count 2026-11-04 06:59:53 -07:00
position.spec.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
position.ts Add an optional two-tiles-per-turn variant 2026-10-27 16:33:50 -06:00
prices.spec.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
prices.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
prng.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
purchase-limit.spec.ts Add configurable three, four or five share purchase limit 2026-10-29 21:17:50 +01:00
replay.spec.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
replay.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
scoring.ts Add holdings visibility levels for cash and total share count 2026-11-04 06:59:53 -07:00
setup.spec.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
setup.ts Add an optional two-tiles-per-turn variant 2026-10-27 16:33:50 -06:00
sim.spec.ts Add an optional two-tiles-per-turn variant 2026-10-27 16:33:50 -06:00
simple.spec.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
simple.ts Harden limited-log privacy and prepare optional variants release 2026-10-28 19:19:07 +01:00
stock-swap.spec.ts Add optional stock swaps before buying shares 2026-10-26 20:10:01 +01:00
stock-swap.ts Add optional stock swaps before buying shares 2026-10-26 20:10:01 +01:00
tiles.spec.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
tiles.ts Acquire for boardgamers.space 2026-10-22 09:54:46 -06:00
turn-draft.spec.ts Allow private turn undo without duplicate history or clock increments 2026-10-23 00:04:22 +02:00
turn-draft.ts Add optional stock swaps before buying shares 2026-10-26 20:10:01 +01:00
turn.spec.ts Add holdings visibility levels for cash and total share count 2026-11-04 06:59:53 -07:00
turn.ts Add holdings visibility levels for cash and total share count 2026-11-04 06:59:53 -07:00
two-tiles.spec.ts Harden limited-log privacy and prepare optional variants release 2026-10-28 19:19:07 +01:00
two-tiles.ts Add an optional two-tiles-per-turn variant 2026-10-27 16:33:50 -06:00
types.ts Add holdings visibility levels for cash and total share count 2026-11-04 06:59:53 -07:00
view.ts Add holdings visibility levels for cash and total share count 2026-11-04 06:59:53 -07:00
wrapper.spec.ts Add holdings visibility levels for cash and total share count 2026-11-04 06:59:53 -07:00