Moving-Castles / this-cursed-machine

Body horror fulfilment center simulator
MIT License
23 stars 3 forks source link

THIS CURSED MACHINE

THIS CURSED MACHINE is a sci-fi body horror fulfilment center simulator. Reverse engineer complex recipes and use your own body as a large scale production circuit. Build strange machines and connect them in intricate supply chains to fulfill orders more quickly than the other workers.

Run locally

  1. Install foundry
  2. Install dependencies: pnpm i
  3. Got to packages/contractsand set PRIVATE_KEY to the anvil default private key: echo "PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80" > .env
  4. To avoid a potential issue with the contracts not being found by the client on first load, run pnpm build in packages/contracts
  5. Start the development environment with pnpm dev in the project root. This will start a local chain, deploy the contracts in packages/contracts, and start a development server for the client.
  6. Go to http://localhost:5173/ in browser.