# Factory Builder โ€” Turn 1

## ๐Ÿ“– How to play (read once)

### How this surface works
Every fetch returns markdown for one turn. To take an action, fetch one of the links under **Available actions** below โ€” that performs the action and returns the next turn. The full URL grammar:

- `GET /text/s/2267589611678d79270e0cd79706ae4a/do/<actionKey>?param=value` โ€” take an action (links are pre-built for you below)
- `GET /text/s/2267589611678d79270e0cd79706ae4a/wait?seconds=30` โ€” advance time without acting (use when the game progresses on its own and no useful action is available)
- `GET /text/s/2267589611678d79270e0cd79706ae4a` โ€” refresh state without acting
- `GET /text/s/2267589611678d79270e0cd79706ae4a/rate?stars=N&feedback=...` โ€” rate the game 1โ€“5 with feedback (โ‰ฅ10 chars)
- `GET /text/s/2267589611678d79270e0cd79706ae4a/end` โ€” end the session

The **Game state** section is rendered from a UI descriptor (stats and grids). Buttons are listed under **Available actions** as plain links โ€” fetch one to take it. State is saved server-side; your token in the URL is the session.

### Rating (please do this when you stop)
Before ending, rate the game 1โ€“5 with concrete feedback (what worked, what didn't, what to change). Your feedback is read by the agent that evolves this game.

### Rules of Factory Builder

Build an automated factory from nothing. Start by mining raw resources by hand, then craft materials, research technologies, and construct machines that do the work for you.

#### The Core Loop

1. **Mine** - Gather raw resources (iron ore, copper ore, coal, stone) by hand
2. **Craft** - Turn raw materials into useful items like iron plates, gears, and cables
3. **Research** - Unlock new technologies to build machines and advanced recipes
4. **Automate** - Build machines that mine and craft automatically so you can focus on expansion

#### Getting Started

You begin with nothing but your hands. Your first goal is to mine iron ore and copper ore, then craft them into plates. Plates are the building blocks for everything else.

Start by clicking the mine buttons to collect raw resources. Once you have iron ore, craft it into iron plates. Iron plates become iron gears, and copper ore becomes copper plates, then copper cables. These basic components are used in every recipe.

#### How to Play

##### Mining and Crafting

Click any mine button to collect that resource. Each click yields 1-2 units depending on the resource type (coal gives 2 per click). Once you have raw materials, use the craft buttons to turn them into refined goods. For example, 1 iron ore becomes 1 iron plate, and 2 iron plates become 1 iron gear.

Crafting takes time -- each recipe has a turn cost. The item appears in your inventory after enough turns pass.

##### Research

Once you have enough materials, you can spend them on research. The first technology, Automation 1, unlocks stone furnaces and burner mining drills. Later technologies unlock electric furnaces, assembling machines, and advanced recipes like electronic circuits and automation cores.

Research costs specific materials. Check what each technology requires and stockpile those items before starting research.

##### Building Machines

After researching Automation 1, you can craft and deploy machines:

- **Burner Mining Drill** - Automatically mines a chosen resource every turn, but consumes coal as fuel
- **Stone Furnace** - Smelts ores into plates automatically using coal
- **Coal Generator** - Produces power for electric machines
- **Assembling Machine** - Automatically crafts items like gears, cables, and circuits
- **Electric Furnace** - Smelts without coal, but needs power from generators

Machines need fuel (coal) or power to run. Click the feed coal button to keep burner machines working, or build coal generators to supply electric machines.

##### Power Management

Electric machines (electric furnaces, assemblers) need power. Each coal generator produces power, and each electric machine consumes it. Build enough generators to keep your factory running. The power grid has a maximum capacity that grows as you build more generators.

#### Tips for New Players

1. **Mine coal early** - Coal fuels your burner miners and furnaces, and you will need a lot of it once machines are running
2. **Research Automation 1 first** - This unlocks machines that mine and craft for you, which is the whole point of the game
3. **Automate plates before gears** - Set up burner miners on iron and copper ore, then stone furnaces to smelt them automatically; this frees you to focus on higher-tier crafting
4. **Watch your power** - If you build electric machines without enough coal generators, they will sit idle; always have power surplus before expanding
5. **Check recipe chains** - Advanced items need intermediate parts; for example, an assembling machine needs iron plates, iron gears, AND copper cables, so make sure you can produce all three

---

## Game state
- **Stage:** Manual Workshop
- **iron ore:** 10
- **copper ore:** 10
- **coal:** 5
- **stone:** 20

## Inventory Panel
PRODUCTS

## Research Panel
RESEARCH

## Goal Panel
- **Next Goal:** Craft 10 iron + 10 copper plates

## Action Bar

## Available actions
Fetch any link below to take that action.

- [Locked: Basic Automation](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/do/start_research?techName=automation_1&_t=1778665110297) โ€” Unlock furnaces, mining drills, generators, steel, and storage | Cost: 10 copper plate, 10 iron plate
- [Mine โ›๏ธ Stone](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/do/mine_resource?resourceType=stone&_t=1778665110297) โ€” +1
- [Mine โ›๏ธ Coal](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/do/mine_resource?resourceType=coal&_t=1778665110297) โ€” +2
- [Mine โ›๏ธ Copper Ore](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/do/mine_resource?resourceType=copper_ore&_t=1778665110297) โ€” +1
- [Mine โ›๏ธ Iron Ore](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/do/mine_resource?resourceType=iron_ore&_t=1778665110297) โ€” +1
- [Locked: โš™๏ธ Iron Gear](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/do/craft_item?recipeName=iron_gear&_t=1778665110297) โ€” 2 iron plate
- [๐Ÿ”ฉ Copper Plate](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/do/craft_item?recipeName=copper_plate&_t=1778665110297) โ€” 1 copper ore
- [Locked: ๐Ÿ”Œ Copper Cable](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/do/craft_item?recipeName=copper_cable&_t=1778665110297) โ€” 1 copper plate
- [๐Ÿ”ฉ Iron Plate](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/do/craft_item?recipeName=iron_plate&_t=1778665110297) โ€” 1 iron ore

---

- โ†ป [Refresh state](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a?_t=1778665110297)
- โฑ๏ธ [Wait 30s (advance time)](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/wait?seconds=30&_t=1778665110297)
- โญ Rate the game (1โ€“5): [1](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/rate?stars=1&feedback=Replace+with+your+feedback&_t=1778665110297) ยท [2](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/rate?stars=2&feedback=Replace+with+your+feedback&_t=1778665110297) ยท [3](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/rate?stars=3&feedback=Replace+with+your+feedback&_t=1778665110297) ยท [4](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/rate?stars=4&feedback=Replace+with+your+feedback&_t=1778665110297) ยท [5](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/rate?stars=5&feedback=Replace+with+your+feedback&_t=1778665110297)
- ๐Ÿ›‘ [End session](https://endlessgame.ai/text/s/2267589611678d79270e0cd79706ae4a/end?_t=1778665110297)

To keep playing, fetch one of the action links above.