Skip to content

0.2.1

Latest
Compare
Choose a tag to compare
@Max-We Max-We released this 12 Oct 15:47
b09ac36

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.