MZ Chess Mini-Game
A fully playable, rules-complete game of chess — right inside your RPG Maker MZ project.
Introduction
MZ Chess Mini-Game adds a complete chess match scene to your project, with full legal move generation, check/checkmate/stalemate detection, and an AI opponent that actually thinks ahead. Trigger a match from any event, set the difficulty and player color, and branch your story off the result.
Features
* Full chess rules: legal moves, check, checkmate, and stalemate detection
* Castling (kingside and queenside), with full legality checks
* En passant capture
* Pawn promotion with a piece-choice prompt (Queen, Rook, Bishop, or Knight)
*AI opponent using minimax search with alpha-beta pruning, scaled across 4 difficulty levels
(Beginner, Standard, Expert, Master)
* Choose to play as White or Black
* EXP + item rewards, with win/loss self switches to branch event flow
* Configurable BGM, move SFX, and victory/defeat ME with individual volume/pitch/pan
* Optional custom board background (auto-generates a classic grid board if left blank)
Screenshots
How to Use
* Drop the plugin in your project’s js/plugins folder and enable it.
* Configure Board Settings and Audio Settings, and assign a piece image for every White and Black piece slot in the plugin parameters. This step is required — any piece left without an image will not appear on the board.
* In any event, add the “Start Chess Minigame” plugin command and set the difficulty, player color, self switches, and rewards.
* The mini-game runs full-screen and hands control back to the event once the match ends (checkmate, resignation, or draw).
Plugin Command: Start Chess Minigame
* Difficulty — Beginner, Standard, Expert, or Master
* Player Color — White or Black; the AI takes the other side
* Win Self-Switch / Loss-Surrender Self-Switch — set on the calling event based on the outcome
* Victory EXP Reward / Victory Item Reward / Item Quantity — granted to the party on a win
Terms of Use
Released under the MIT License. Free to use in commercial and non-commercial RPG Maker MZ projects. Credit to Lynn Productions is appreciated.
Download
* PLUGIN DOWNLOAD
To use the custom Chess pieces in this demo you must own a legal copy of RPG Maker XP.
— Lynn Productions


