This website uses cookies.Before continuing to use our website, you agree and accept Privacy policy.Accept

Match3 made with AI


By selecting and swapping two adjacent blocks, you can then eliminate the blocks with three consecutive matching colors.
Score: 0
Remain: 30

PC - Smartphone



DESCRIPTION

Here is a simple example of creating a match-3 game where blocks disappear when three colors are aligned.

However, there might be some logical issues, so considering the debugging effort, the level of completion might not be quite there yet.

HOW TO MAKE/PROMPT

Created using Claude sonnet. The prompt was as follows:
# Match-3 Game Development Prompt

## Game Overview
Players aim to match three or more gems of the same type to clear them from the board. Players swap adjacent gems to align three or more of the same gems vertically or horizontally, scoring points in the process.

## Key Features
### Game Board
- Grid-based game board (e.g., 8x8 grid)
- Each cell contains a randomly placed gem
### Types of Gems
- Different colors and shapes of gems (e.g., red, blue, green, yellow, 4 types)
### Swapping and Clearing
- Players can swap adjacent gems
- Aligning three or more of the same gems clears them, and new gems fall from above
### Scoring System
- Points are awarded for clearing gems
- Combos and chains grant bonus points
### Levels and Objectives
- Each level has objectives such as target scores or specific gems to clear
- Difficulty increases with each level
### Special Gems
- Matching 4 or more gems creates special gems with unique effects (explosions, full clear, etc.)
### Time Limit or Move Limit
- Achieve objectives within a time limit or move limit

## User Interface
### Touch or Click Controls
- Designed for both smartphones and PCs
- Touch or click to select and drag gems to swap
### Score Display
- Current score and target score displayed at the top of the screen
### Level Progression
- Displays current level and remaining moves or time

## Visuals and Sound
### Graphics
- Colorful and attractive gem designs
- Animation effects when gems are cleared
### Sound
- Sound effects for swapping and clearing gems
- Sound effects for game clear or failure

## Basic Program Structure
### Initialization
- Generate game board and place gems
### Game Loop
- Accept player input to swap gems
- Check and clear matching gems
- Drop new gems and reposition
- Update score and objectives
- Check level clear conditions
### End Game Processing
- Transition to the next level on clear
- Retry option on failure
However, there are many parts where the functionality is questionable, so further adjustments are needed.
What if there is an error?




<< menu

On-site search