Puzzle2D This project is based on five-lines I reengineered the code from typescript to kotlin language.