Eternity II — Linux worker
==========================

Help search for a solution to the Eternity II puzzle. Your machine explores
part of the search tree and reports results automatically.

QUICK START (recommended, always up to date)
--------------------------------------------
  mkdir -p ~/eternity2 && cd ~/eternity2
  curl -fsSL https://eternity-control-plane-prod.eternity-cp.workers.dev/download/linux-worker -o linux_worker.py
  python3 linux_worker.py --server https://eternity-control-plane-prod.eternity-cp.workers.dev --invite <YOUR_CODE>

Or just run:  ./install.sh   (it will ask for your invite code)

WHAT IT DOES
------------
* Downloads the right native solver for your CPU automatically:
    - x86_64  -> prebuilt binary
    - ARM/other -> built from source on first run (needs g++, ~1 min)
* Downloads the puzzle data, runs the engine, uploads results continuously.
* Keeps ITSELF up to date (checks for a new version at startup and every ~10 min).

REQUIREMENTS
------------
* Python 3 (standard library only).
* On ARM only: a C++ compiler (Debian/Ubuntu: sudo apt install g++).

OPTIONS
-------
  --threads N   Number of threads (default: full speed, capped at ~1.3x cores).
  --label NAME  Display name on the dashboard (default: hostname).
  --state DIR   Where to store data (default: ./worker_state_linux).

Press Ctrl+C to stop at any time. Nothing else to configure.
