Chessformer - Chess Puzzle Platformer Game

Seele01-Flash
By
Chessformer is an innovative puzzle game that combines classic chess mechanics with gravity-based platform gameplay. Move familiar chess pieces that fall after each move to capture the opposing king in creative puzzle levels.

Prompt

MODEL: Seele01-Flash
Please use Three.js to generate a **mobile-first game** with the theme "**Chessformer: Gravity Tactics**". Please read the following detailed game design requirements first, and then generate the code accordingly: ### 1. Assets & Environment * **Visual Style**: Adopt a "2.5D Minimalist Vector" aesthetic. Use flat 3D geometries (Extruded shapes) to mimic the look of 2D vector art seen in the reference. * **Pieces**: Render chess pieces (Rook, Bishop, Knight, King) as extruded silhouettes with thick black outlines (using `LineSegments` or rim shaders) and flat fill colors (Cornflower Blue for player, Red/Black for enemy King). * **Grid**: The background should be a subtle checkerboard pattern in muted earth tones (Tan/Beige) to resemble a wooden board, but simplified. * **Camera**: Use an `OrthographicCamera` fixed in a side-view or slight isometric angle to emphasize the grid alignment and puzzle nature. * **Mobile Optimization**: Use basic `BoxGeometry` and `ExtrudeGeometry`. Avoid complex textures or dynamic shadows. Use `MeshBasicMaterial` or `MeshToonMaterial` for performance on mobile devices. ### 2. Audio Requirements * **BGM**: A contemplative, lo-fi hip-hop or soft jazz piano track. It should be relaxing and loop seamlessly to encourage thinking. * **SFX**: * **Select**: A soft "pop" or wooden "clack" when a piece is tapped. * **Move**: A "swoosh" sound for piece movement. * **Impact**: A heavy "thud" or "clunk" when a piece falls and hits the ground/another piece (crucial for the gravity mechanic). * **Capture**: A satisfying triumphant chime when the enemy King is taken. ### 3. Gameplay Loop * **Core Mechanic**: Turn-based puzzle platformer. 1. **Selection**: The player selects one of their blue chess pieces. Valid moves are highlighted based on traditional chess rules (Rook = straight lines, Bishop = diagonals, Knight = L-shape), BUT limited by the grid size. 2. **Movement**: The player taps a valid target square. The piece teleports or moves quickly to that spot. 3. **Gravity Phase**: Immediately after moving, **Gravity applies**. If there is empty space below the piece, it falls until it hits a solid block or another piece. 4. **Restriction**: Pieces cannot be selected again until they have completely stopped falling and are stable. * **Goal**: Capture the static Enemy King. The level ends immediately upon collision with the King. * **Enemy Behavior**: The Enemy King is a passive object; it does not move or attack. It is purely a target. ### 4. Mobile Controls & Interaction * **Touch Controls**: * **Tap to Select**: Raycasting from camera to detect taps on piece meshes. Highlight the selected piece with a glow or scale pulse. * **Tap to Move**: Display valid move destinations as distinct, touch-friendly dots or semi-transparent squares (minimum visual size equivalent to 44px). Tapping these triggers the move. * **Orientation**: Default to **Portrait Mode** for one-handed play, as puzzle grids are often vertical. * **UI Layout**: * Place a "Restart Level" button clearly at the top right (safe zone). * If a move is invalid or the player taps empty space, deselect the current piece. * **Feedback**: Provide haptic feedback (vibration) when a piece lands (impact) and when the level is completed. Add a subtle screen shake when heavy pieces fall. Do not ask for clarification. Do not request confirmation. Directly execute the generation task based on the given instructions.

Game Introduction

About the Game

Chessformer is a revolutionary puzzle game that reimagines chess by adding gravity mechanics to create an entirely new gaming experience. This unique brain game combines the strategic depth of chess with innovative platformer elements, where chess pieces fall down after moving and must stop before they can move again. Your objective is simple yet challenging: capture the opposing king using creative strategies in grid-based puzzle levels.

The game features familiar chess pieces - kings, rooks, bishops, knights, and pawns - but with a twist. Each piece moves according to traditional chess rules, but gravity affects their movement, creating puzzle scenarios that require both chess knowledge and spatial reasoning skills.

Core Features

Innovative Gravity Mechanics

Unlike traditional chess, pieces in Chessformer fall down after making a move and cannot move again until they've completely stopped falling. This gravity system transforms every move into a strategic puzzle where positioning and timing become crucial elements of success.

Classic Chess Pieces with New Possibilities

All the chess pieces you know and love are here: - Rooks move horizontally and vertically but fall after each move - Bishops move diagonally and are affected by gravity - Knights make their L-shaped moves before falling - Pawns advance forward but drop down after moving - Kings follow traditional movement patterns with gravity effects

Brain-Training Puzzle Levels

Each level presents a unique puzzle scenario where you must use chess piece movements creatively to reach and capture the opposing king. The stationary enemy king adds a strategic element - you don't need to worry about counter-attacks, allowing you to focus purely on puzzle-solving.

Accessible Yet Challenging

Whether you're a chess master or a complete beginner, Chessformer offers an engaging experience. The familiar chess movements make it easy to understand, while the gravity mechanics create fresh challenges that will test even experienced players.

Gameplay Mechanics

The core gameplay revolves around strategic piece placement and movement timing. You must consider not only where your pieces can move according to chess rules, but also where they will end up after gravity takes effect. This creates multi-layered puzzles where each move requires careful planning.

The lazy king mechanic means you're playing against the board itself rather than an active opponent, making this purely a puzzle-solving experience. Your goal is to position your pieces effectively to deliver checkmate while navigating the gravity-based obstacles.

Operation Guide

Playing Chessformer is intuitive and straightforward: - Select a Piece : Click on any chess piece you want to move - Choose Destination : Click on one of the highlighted dots showing valid moves - Watch Gravity : Observe as your piece falls to its final position - Plan Next Move : Wait for pieces to stop moving before making your next move

The game provides visual indicators for valid moves, making it easy to understand your options at each turn.

Why Play This Game

Chessformer offers a perfect blend of familiar and innovative gameplay that appeals to puzzle enthusiasts and chess fans alike. It's completely free to play in your browser, requiring no downloads or installations. The game provides excellent brain training through spatial reasoning and strategic thinking while maintaining an accessible, casual gaming experience.

The unique gravity mechanics create hundreds of possible puzzle scenarios, ensuring high replayability. Each level feels fresh and challenging, making it an excellent choice for both quick gaming sessions and extended puzzle-solving marathons.

For chess players, it offers a new perspective on familiar pieces and movements. For puzzle game fans, it provides a strategic depth rarely found in casual games. The combination makes Chessformer a standout title in both the chess and puzzle game categories.

Frequently Asked Questions (FAQ)