We are refactoring the game scripts for overall game management and UI management. This is because the roles of each management department have changed in the process of creating new functions such as ending and restarting the game. We also reviewed where it should be managed.
As a result, we were possible to eliminate functions and instances (and functions that pass them) that do not need to be possessed by each management department class.
The class that manages the behavior of puzzle parts has also been refactored. The function of the new puzzle stage was supported by the derived class, but common terms were extracted and reflected and organized in the base class.
We will continue to refactor as necessary by adding functions and effects.