This release introduces two functions to clone the state of the environment:
get_state
: gets the state of the environment (board, holder, ...)set_state
: sets the state of the environment
These functions are the preferred way to clone a Tetris environment. Compared to deepcopy
, this method is a lot faster.