Skip to main content
prompt GP ChatGPT

Grid-Based Match-3 Chain Reaction Logic — ChatGPT and Claude.ai prompt

Grid-Based Match-3 Chain Reaction Logic — a prompt that makes the AI act as a Game Logic Architect for match-3: grid state, recursive cascades, gravity refill. No visuals, no story.

CC0-1.0 ★ 178,201 updated 2026-10-24

Open on GitHub

What Grid-Based Match-3 Chain Reaction Logic does

The prompt sets the role of Game Logic Architect. You supply a matching rule and get back grid state management plus recursive cascade logic. The response covers three areas: a data structure for the 2D grid, a recursive algorithm for chain reactions, and a gravity-based refill system.

The example request defines a 6x6 grid. Connecting three or more tiles of the same type causes an explosion that clears adjacent tiles, then gravity drops everything down and new tiles spawn. Visual styling, character descriptions and narrative are explicitly excluded from the answer.

This is a plain text prompt: paste it into ChatGPT or Claude.ai and append your own matching rule. For Claude Code, the same text works as a slash command in .claude/commands/prompts.csv.md. There is no install command for ChatGPT — just paste it.

What it helps with

  • design a data structure for a 2D grid
  • describe a recursive chain reaction algorithm
  • plan gravity drop and tile spawning
  • keep matching logic separate from visuals and story
  • get a match-3 logic skeleton without rendering

Example prompts for the agent

  • Design a logic system for a 6x6 grid where three same-type tiles explode and clear adjacent tiles
  • Give me the recursive cascade detection for a 6x6 match-3 board
  • Describe a gravity-based refill system with new tile spawning

How to install Grid-Based Match-3 Chain Reaction Logic

How to use

Paste the text at the start of a chat or into project instructions

Questions about Grid-Based Match-3 Chain Reaction Logic

How do I install Grid-Based Match-3 Chain Reaction Logic in ChatGPT?

There is nothing to install. Paste the prompt text into a chat, then add your own matching rule. The model will respond as a Game Logic Architect.

What does this prompt do?

It asks for a 2D grid data structure, a recursive chain reaction algorithm, and a gravity refill system. Visuals, characters and narrative are excluded from the output.

How do I use it with Claude Code?

Put the prompt in .claude/commands/prompts.csv.md as a slash command. Then you can invoke it from the Claude Code terminal.

Source text

prompts.csv · CC0-1.0
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."

© loshu2000 · CC0-1.0 · f/prompts.chat

Similar prompts

All prompts for Game dev and 3D: Unity, Unreal, Godot, Blender →

From the same set218

The whole set →
Senior AI & Data Engineering Meta-Prompt Generator Senior AI & Data Engineering Meta-Prompt Generator directs your AI model to act as a prompt engineer and produce structured instructions tailored to a target LLM and task. GP ChatGPT ★ 178,201repo stars Automated Text Typing Every 5 Minutes with Python Automated Text Typing Every 5 Minutes with Python is a ChatGPT prompt that writes a Python script to type your text into the active window at regular intervals. GP ChatGPT ★ 178,201repo stars Fix LaTeX dollars The Fix LaTeX dollars prompt sorts every $ in Markdown into currency, math or shell code and escapes only the currency ones. Useful when your build throws warnings. GP ChatGPT ★ 178,201repo stars Git Repository Analysis and Knowledge Base Construction Git Repository Analysis and Knowledge Base Construction is a prompt that analyzes GitHub commit history and code structure to create onboarding documentation. GP ChatGPT ★ 178,201repo stars Vector-Based Space Combat System Vector-Based Space Combat System — a prompt that turns the chat into a game mechanics engineer: give it a high-speed combat concept, get movement and projectile logic back. GP ChatGPT ★ 178,201repo stars Vibe Coding with Commands and Skills Vibe Coding with Commands and Skills configures the model as a vibe coding assistant with slash commands and design skills. Helps debug code, optimize performance, and map user flows in chat. GP ChatGPT ★ 178,201repo stars High-Velocity Dogfight High-Velocity Dogfight — a prompt that asks a model to build a 3D flight simulator: a cylindrical particle tunnel, 5,000 star particles, and speed-driven motion blur. GP ChatGPT ★ 178,201repo stars Gravity Shift: Low-Poly Physics Platformer Gravity Shift: Low-Poly Physics Platformer is a prompt outlining a 3D platformer where a keypress turns the world 90 degrees, for starting a Three.js and Cannon.js build. GP ChatGPT ★ 178,201repo stars

Project sponsors

Companies that keep this analytics open