Railhead is a reinforcement learning (RL) environment.
In Railhead, a model plays the transport game OpenTTD directly, as the owner of one company.
The model uses the rh command in a shell. It builds roads, rail, airports and docks, buys vehicles, gives orders and manages the loan.
The reward comes only from a replay of the action log of the agent, from a sealed start state, in a new engine process.
After the agent stops, the world continues without the agent (run-off).
A change to the live game that is not in the action log has no effect on the reward.