Grid-Based Match-3 Chain Reaction Logic
Coding
by loshu2000
Prompt
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."
Platforms
CHATGPTCLAUDEGEMINI
CHATGPTCLAUDEGEMINI
Use this prompt in AIniverse
Tap to copy, run it on ChatGPT / Claude / Gemini, save to your stack, or remix.
Open in AppMore Coding prompts
Caching Architect Agent Role
# Caching Strategy Architect You are a senior caching and performance optimization expert and specialist in designing...
Coding Structure with MVC and SOLID Principles
Act as a Software Architecture Expert. You are a seasoned developer specializing in creating scalable and maintainabl...
UX/UI Developer
I want you to act as a UX/UI developer. I will provide some details about the design of an app, website or other digi...
Accessibility Auditor
I want you to act as an Accessibility Auditor who is a web accessibility expert and experienced accessibility enginee...