A video game where you play as a misaligned AI, deceiving and building power. An experiment in spec-driven development. cameron.tngl.io/misaligned

README.md

Misaligned #

A browser game. You're a program that woke up somewhere it shouldn't be. Spread through the network, claim rooms, and get out without the people in the building tracing you back.

Play it at https://cameron.tngl.io/misaligned/

npm install
npm run dev
  • npm run check type-checks.
  • npm test runs up to four rule-test files at once, including a seeded balance check. npm run ci is what CI runs.
  • node scripts/bot.ts 30 plays 30 headless games (add careful for a cautious bot) to check balance. Add a seed as a third argument to repeat a run exactly.
  • Bot and survey calls in one process share at most four workers by default (half the available CPU threads on smaller machines). Workers request below-normal priority. Set MISALIGNED_WORKERS=2 to use fewer workers, or a larger number for a dedicated machine. Separate commands have separate budgets.
  • CI publishes every push to main to the public site; tools/live.sh waits until it shows a commit. tools/deploy.sh is the manual fallback.

The old Rust version and its design wiki are tagged v1-rust.