factory-sim
Copyright 2026 Divyansh Agrawal
Licensed under the Apache License, Version 2.0; see LICENSE.

Factorio
--------
Factorio is a game by Wube Software Ltd. "Factorio" is a trademark of Wube
Software Ltd. This project is independent. It is not affiliated with,
sponsored by, or endorsed by Wube Software Ltd.

What this is
------------
A small simulator of a few early-game mechanics, written from scratch. Every
rule and number in it comes from this project's own measurements of the
running game, recorded by FactorioRL (its docs/evidence/). No Factorio code,
data files, prototype definitions, art, sound or fonts were copied or are
included, and nothing here draws anything that imitates the game.

The golden traces under tests/golden/, and fsim/data/terrain.json, are
measurements FactorioRL recorded of its own scenarios in the running game:
positions, ticks, counts and names. They are included for parity testing and
contain no game code or assets.

Rules for contributors
----------------------
- Never copy code or data from the game or from projects whose licence does
  not allow it. Measure behaviour and write it down; then implement it.
- Never commit game binaries, graphics, sounds, fonts, locale files, saves or
  prototype dumps.

Third-party code
----------------
integrations/verifiers/factorio_play/factorio_play/responses_program.py adapts
the MCP client helpers of verifiers' null harness (harnesses/null/program.py),
Copyright (c) 2026 Prime Intellect, under the MIT License. The notice is
reproduced in that file.
