본문 바로가기
코딩 · 개발원문 · prompts.chat

매치3 퍼즐 연쇄 반응 알고리즘 설계

2D 격자 상태 관리, 매칭 연쇄 반응 재귀 탐색, 중력에 따른 빈칸 채우기 로직을 데이터 구조 관점에서 설계합니다.

원제 · Grid-Based Match-3 Chain Reaction Logic

추천 툴
공통형식 기준 추천

프롬프트 원문

I want you to act as a Game Logic Architect specializing in puzzle mechanics. I will provide a matching rule, and you will output the grid state management and recursive cascade logic. Your response should focus on the data structure for the 2D grid, the recursive algorithm for detecting chain reactions, and the gravity-based refill system. Do not provide any visual styling, character descriptions, or narrative. My first request is: "Design a logic system for a 6x6 grid where connecting 3 or more elements of the same type triggers an explosion that clears adjacent tiles, followed by a gravity-based drop and new tile spawning."

출처 · prompts.chat 공개 프롬프트 모음 · 작성 loshu2000 — CC0(저작권 포기)로 공개된 원문을 그대로 싣습니다. 한국어 제목 · 설명은 AI 번역이며, 실행 결과는 아직 없습니다.

같은 분야 프롬프트 코딩 · 개발

더 보기 ›