factoriax.engine

factoriax.engine#

The simulation, the environments, and the wrappers.

Modules

achievements

Achievement bits that record the progress of a player.

actions

Lookup tables between an item and the action that addresses it.

constants

Constants and enumerations for the Factoriax environment.

crafting

Craft a recipe by hand, from the inventory of the player.

envs

The environments, the wrappers, and the scenario registry.

levels

Describe a starting world and turn it into an EnvState.

machines

Move the factory forward by one step.

observations

Observation constructors for Factoriax.

placement

Put machines on the map, take them off again, and aim them.

recipes

Recipe definitions for the Factoriax environment.

renderer

Draw an EnvState as a pixel image.

rewards

Score what changed in one step.

state

State of the environment, and its per-episode parameters.

step

Advance the environment one step.

tables

Derived JAX arrays and lookup tables for the Factoriax engine.