首页>
外国专利>
Method program and apparatus for automatically generating tangram puzzle maps
Method program and apparatus for automatically generating tangram puzzle maps
展开▼
机译:方法程序和用于自动生成Tangram Puzzle映射的装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
The present invention relates to a method, program and apparatus for automatically generating a tangram puzzle map without duplication and error according to specified conditions. The present invention relates to the steps of "by a computer program, a computer device, (a) setting the grid map size and the number of objects composed of the number of horizontal unit grids x and the number of vertical unit grids y; (b) generating a grid map according to the setting, and storing the coordinates of each vertex of all unit grids in the grid map; (c) Set the entire grid map as an object, select one vertex (hereinafter, 'selection side vertex') from two sides of the object, and select one vertex (hereinafter, 'inner vertex') inside the object dividing the object's edge vertex, the selection side vertex, and the connecting line of the inner vertex into two objects as sides; (d) Selecting a large-area object (hereinafter, 'large-area object') from among the divided objects, selecting two selection side vertices and one inner vertex from the large-area object, and selecting a corner vertex of the large-area object , dividing the connecting line of the selected side vertex and the inner vertex into two objects as sides; (e) repeating step (d) until the number of divided and generated objects reaches the number set in step (a) and storing the vertex coordinates of each finally created object; and (f) generating a puzzle map by randomly arranging each finally generated object under the grid map.
展开▼