성냥개비 등식 퍼즐 게임 알고리즘 설계 및 구현

Design and Implementation of an Algorithm for Matchstick Equation Puzzle Game

초록

The matchstick game is enjoyed by people of all ages and genders. Although various versions of this game exist, the most common variant involves rearranging a limited number of matchsticks from a given initial configuration to either complete a mathematical expression or construct a specific geometric shape. In this study, we implemented an algorithm to examine the feasibility of moving a given number of matchsticks to complete a specific equation and, if possible, identify the possible matchstick combinations. The experimental results showed that the proposed algorithm could be effectively utilized in checking answers of and designing games involving the rearrangement of one to three matchsticks to complete an equation, which is typically enjoyed by players.

키워드

성냥개비 퍼즐 게임게임 트리완전 알고리즘재귀 호출7-세그먼트Matchstick Puzzle GameGame TreeBrute-Force AlgorithmRecursive Call7-Segment
제목
성냥개비 등식 퍼즐 게임 알고리즘 설계 및 구현
제목 (타언어)
Design and Implementation of an Algorithm for Matchstick Equation Puzzle Game
저자
이형봉권기현
DOI
10.9728/dcs.2024.25.4.1001
발행일
2024-04
유형
Y
저널명
디지털콘텐츠학회논문지
25
4
페이지
1001 ~ 1008