You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The baselines currently rely on a low-level socket to handle communication and send commands. As more complex RL models are developed using this library, such communication with the game client should be abstracted into an interface like one popularized by OpenAI's Gym.
Implementation
The PolycraftEnv should support the following functions:
reset
Prepares the client for a new experiment
step
Sends an action to the client and receives an observation
close
Shuts down the client
Additionally, the game should be initialized when the constructor is called. The environment should support the following workflow:
Overview
The baselines currently rely on a low-level socket to handle communication and send commands. As more complex RL models are developed using this library, such communication with the game client should be abstracted into an interface like one popularized by OpenAI's Gym.
Implementation
The
PolycraftEnv
should support the following functions:Additionally, the game should be initialized when the constructor is called. The environment should support the following workflow:
And for convenience it should support context manager functionality:
The text was updated successfully, but these errors were encountered: