Abstract

We present a framework that generates a 2D Lego-compatible puzzle layout of greater than thousands pieces of bricks using a reinforcement learning technique. Many existing 2D legorization strategies have limitations in producing a Lego layout, which is composed of more than thousands of pieces. We attack this problem by employing a reinforcement learning technique, which accelerates the progress of various game strategies. We represent the legorization process as a game tree search problem, where each leaf node of the tree corresponds to a Lego layout. The goal of legorization is to find an optimal Lego layout that achieves maximum reward. To efficiently find a leaf node for the maximum reward layout, we reduce the search space using a dueling deep Q-Network (DQN), which is a widely used reinforcement learning model. Our framework is composed of a learning stage and a legorization stage. In the learning stage, we design a dueling DQN model and train this model using three heuristics for legorization strategies. In the legorization stage, we efficiently generate a large-scaled 2D Lego-compatible puzzle layout by reducing the search space using the trained dueling DQN. This approach enables us to produce a puzzle layout of more than a thousand of pieces, which has not been feasible for existing legorization schemes.

Highlights

  • Image-based puzzles, which are played by placing small pieces in their proper positions until a target figure is completed, have been widely popular for a long time

  • Since large-scaled Lego layout is desired by many Lego artists and enthusiasts, we aim to present a framework that generates large-scaled 2D Lego-compatible layout

  • The third point is that we propose a reinforcement learning-based search strategy for the optimal Lego layout

Read more

Summary

Introduction

Image-based puzzles, which are played by placing small pieces in their proper positions until a target figure is completed, have been widely popular for a long time. Jigsaw puzzle is one of famous image-based puzzles. The pieces of a jigsaw puzzle can only be used for a given target image. We recognize a strong need for an image-based puzzle with reusable pieces. We devise an image-based puzzle that uses Lego bricks for its pieces. We identify another requirement for our study in the widespread favors on pixel art, which represents complex objects or scenes in a very low resolutional images. Unlike Jigsaw puzzle, which uses an image of its own resolution, Lego-based puzzles require pixel art images for their input. The unceasing favors on pixel art will increase the needs for the Lego-based puzzles

Objectives
Results
Conclusion

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.