Ana Sayfa / Kod ve Scriptler / Match-3 Puzzle - Pygame Grid Matching Game
Match-3 Puzzle - Pygame Grid Matching Game
Python/Pygame ile zamanlı klasik 3 eşleştirme bulmacası — karoları değiştirin, 3+ eşleştirin, zincirleme kombolar yapın ve saatle yarışın.
- Yayın tarihi25 Temmuz 2026
- Paket içeriği.py
- Son güncelleme25 Temmuz 2026

Overview
Match-3 Puzzle is a complete, timed grid-matching game built with Python and Pygame. Players click a tile and then an adjacent tile to swap them — matching 3 or more same-colored tiles in a row or column clears them, drops the remaining tiles down, and refills the grid from the top, all within a fast 90-second countdown.
The game features a smart 8x8 grid generator that guarantees no pre-existing matches at the start, real match detection across rows and columns, automatic chain-reaction scoring (cascading matches from refills keep adding to the score in a single move), invalid-move handling (tiles swap back if no match is made), a clean circular tile design with selection highlighting, a live score and countdown timer with a color warning in the final seconds, and a "Time's Up" end screen with instant restart. The code is compact and cleanly structured around pure grid-logic functions (match finding, collapse/refill, adjacency checks), making it easy to reskin with new tile art or extend with power-ups.
Demo:
============================================================== 🧩 MATCH-3 PUZZLE - GAME DEMO ==============================================================
🎮 Objective: Match 3 or more tiles of the same color by swapping adjacent tiles before the timer reaches zero.
-------------------------------------------------------------- GAME START --------------------------------------------------------------
Score : 0 Time : 90 Seconds
🔴 🔵 🟢 🟡 🟣 🟠 🔴 🔵 🟢 🔴 🔵 🟢 🟡 🔴 🟣 🟠 🟡 🟢 🔴 🔴 🔴 🔵 🟠 🟣 🟣 🟠 🟢 🔵 🟡 🟢 🔴 🟡 🔵 🟡 🟠 🟣 🔴 🔵 🟢 🟠 🔴 🔵 🟢 🟡 🟣 🟠 🔴 🔵 🟢 🔴 🟡 🔵 🟠 🟢 🟣 🔴 🟠 🟣 🔵 🟢 🔴 🟡 🔵 🟢
Player selects two neighboring tiles.
-------------------------------------------------------------- SUCCESSFUL MATCH --------------------------------------------------------------
Swap:
🔴 🔴 ⇄ 🔴 🟢
Result:
💥 💥 💥
3 Matching Tiles Cleared ✔
New Tiles Drop Automatically ⬇
Score : +30
-------------------------------------------------------------- CHAIN COMBO BONUS --------------------------------------------------------------
💥 First Match ⬇ 💥 Second Match ⬇ 💥 Third Match
Combo Bonus Activated ✔
Score : 120
-------------------------------------------------------------- TIMER RUNNING --------------------------------------------------------------
Score : 380
Time Remaining
██████████████████░░░░ 20 sec
Player must make quick decisions to earn the highest possible score.
-------------------------------------------------------------- TIME'S UP --------------------------------------------------------------
⏰ TIME'S UP ⏰
Final Score : 560
🏆 Excellent Performance!
Press [ R ] to Play Again
============================================================== Controls: 🖱 Mouse Click → Select Tile 🖱 Mouse Click → Select Adjacent Tile to Swap ESC → Exit Game R → Restart After Time's Up ==============================================================
Features
Classic click-to-swap match-3 mechanics8x8 grid with 6 tile colorsSmart grid generation — no free matches at game startAutomatic match detection (rows + columns, 3 or more)Cascading combo scoring on chain reactionsInvalid swap auto-reverts90-second countdown timer with low-time warning colorLive score displayTime's Up screen with one-key restartClean, function-based, single-file Python code — easy to reskin or extend
Requirements
Python 3.7+Pygame library (pip install pygame)No internet connection or external assets required — runs entirely offline
Benzer ürünler

Python/Pygame ile geliştirilmiş hızlı tempolu sonsuz koşu oyunu — zamanla hız arttıkça engellerden zıplayıp eğilerek kaçın.
Yayın: Temmuz 2026
Python/Pygame ile tam 2D yan kaydırmalı platform oyunu — zıpla, madeni para topla, düşmanları yen ve bayrağa ulaş.
Yayın: Temmuz 2026
Python ve Pygame ile retro tarzı dikey uzay nişancısı. Düşman ateşinden kaçın, gemi dalgalarını yok edin ve yüksek skoru kovalayın.
Yayın: Temmuz 2026
Python ve Pygame ile geliştirilmiş, hızlı tempolu 2D zombi hayatta kalma nişancı oyunu. Sonsuz dalgalar, otomatik nişan ve artan zorluk. Temiz, hazır-t
Yayın: Temmuz 2026
Python ile geliştirilmiş, tam işlevli klasik Yılan oyunu. Temiz, iyi yorumlanmış kod; özelleştirmesi çok kolay.
Yayın: Haziran 2026
Çevrimdışı çok oyunculu seçeneği ve sonsuz oyun için Bilgisayar YZ'leri bulunan çevrimdışı 2D Satranç oyunu
Yayın: Ekim 2023