{"_id":"@aeon-games/robot-factory","_rev":"2-961af4f61f53fdf8a739e009bf38bd77","name":"@aeon-games/robot-factory","dist-tags":{"latest":"5.0.0"},"versions":{"5.0.0":{"name":"@aeon-games/robot-factory","version":"5.0.0","_id":"@aeon-games/robot-factory@5.0.0","maintainers":[{"name":"buley","email":"buley@outlook.com"}],"dist":{"shasum":"489c4b37179ef831e3187d4cd7f284bfd251373e","tarball":"https://registry.npmjs.org/@aeon-games/robot-factory/-/robot-factory-5.0.0.tgz","fileCount":8,"integrity":"sha512-w71kdgyEQjPaZocyex4Y4NaAGqsfz/O3RgNPffgOZSEC3Md5rw5+vg4CC/Qhwyhf5UcKyxOTXIQO0stOX4U0PA==","signatures":[{"sig":"MEUCIB4luC+VCYvZ5nv/HrmUlY6FqR1xTuc6KPtWfTrJk5bfAiEAwuSQ2Ka0kIVWZ2Bkdn/8pV83lkkY8lVVmMvkGMc21QU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":84305},"main":"src/index.tsx","gitHead":"50ee9b90d00baf68ad1cb93dd5bf9e32eab9b983","scripts":{"forge:deploy":"bun ../../../apps/aeon-forge/src/cli/cli.tsx deploy . --oneshot"},"_npmUser":{"name":"buley","email":"buley@outlook.com"},"_npmVersion":"11.8.0","description":"Robot Factory","directories":{},"_nodeVersion":"25.5.0","dependencies":{"react":"^19.0.0","@aeon-games/engine":"workspace:*"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/robot-factory_5.0.0_1773156796543_0.9977796698562462","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package is deprecated and no longer supported. Do not use."}},"time":{"created":"2026-03-10T15:33:14.510Z","modified":"2026-03-27T20:31:27.948Z","5.0.0":"2026-03-10T15:33:16.686Z"},"description":"Robot Factory","maintainers":[{"name":"buley","email":"buley@outlook.com"}],"readme":"# Robot Factory\n\n## Purpose\n**Robot Factory** is an automated resource management game within the Aeon Games ecosystem. Players (and agents) must program simple robots to navigate a hexagonal grid, pick up boxes from sources, and drop them at designated destinations. The game uses a simple instruction-based programming model (MOVE, TURN, PICK_UP, etc.) to solve spatial puzzles and optimize throughput.\n\n## Key Features\n- **Hexagonal Programming**: Robots navigate using 6 directions (E, NE, NW, W, SW, SE).\n- **Instruction Cells**: Players place special tiles on the hex board to program the robot's behavior as it passes over them.\n- **Puzzle Mechanics**: Levels involve navigating around walls and managing timing to avoid collisions or inefficiencies.\n\n## Key Files\n- `src/index.tsx`: Core game implementation, including state management, robot execution loop, and level generation.\n- `package.json`: Package metadata and dependencies.\n- `tsconfig.json`: TypeScript configuration.\n\n## Usage\nThe `RobotFactory` component is integrated into the Aeon Games environment:\n\n```tsx\nimport RobotFactory from '@aeon-games/robot-factory';\n\n<RobotFactory \n  gameId=\"factory-lvl-1\"\n  difficulty=\"medium\"\n  onSuccess={...}\n/>\n```\n\n## Mechanics\n- **Robot Instructions**:\n    - `MOVE`: Move one hex forward in the current direction.\n    - `TURN_LEFT`/`TURN_RIGHT`: Rotate the robot's heading by 60 degrees.\n    - `PICK_UP`: Grab a box if at a source cell.\n    - `DROP`: Release a box at a destination cell.\n    - `IF_WALL`: Conditional logic based on upcoming obstacles.\n","readmeFilename":"README.md"}