🎮 How to Play & Controls Guide
Objective & Rules of Classic Gomoku (Five in a Row)
Gomoku (Five in a Row) is an ancient, world-renowned dual-strategy board game originating in East Asia. Played on a standard 15×15 grid (225 intersections), Black plays first, followed by White in alternating turns. The victory condition is mathematically pure and strategically profound:
- Five-in-a-Row Victory: The first player to form an unbroken chain of five stones of their color horizontally, vertically, or diagonally wins immediately.
- Standard Gomoku Rules (Free Style): Puzzle PK uses standard freestyle Gomoku rules without restrictive fouls (no overline bans; forming 6 or more contiguous stones also counts as a valid win).
- Deterministic Zero-Sum Contest: Gomoku features zero hidden information and zero RNG luck; outcomes are determined entirely by positional foresight, initiative control, and tactical calculation.
Complete Controls & Keyboard Shortcuts Guide
Engineered for fluid, zero-latency precision on desktop mice, keyboards, and mobile touch devices alike:
| Action | Key / Gesture | Description |
|---|---|---|
| Place Stone | Left-click / Tap intersection | Play a stone on any vacant intersection; features translucent hover preview to avoid slips |
| AI Move Hint | Keyboard H Key / Toolbar 💡 Button | Invokes the onboard game-tree AI to highlight the highest win-rate move on the board |
| Quick Restart | Keyboard R Key | Instantly clears the board and restarts a fresh game in single-player mode |
| Change Difficulty | Difficulty Dropdown in Toolbar | Select across Easy, Medium, Hard, and Master AI engines to sharpen your tactical instincts |
| Touchscreen Snap | Single-finger tap with magnetic snap | Auto-aligns touch coordinates to the nearest intersection for effortless mobile play |
Essential Tactical Formations Quick Reference
- Open Three (Live 3): A three-stone line open at both ends (e.g.,
_XXX_). If unblocked, it inevitably blossoms into an unstoppable Open Four on the subsequent turn. - Closed Four (Rush 4): A four-stone sequence blocked at one end or with an internal gap (e.g.,
OXXXX_). It carries absolute initiative, forcing an immediate, mandatory opponent response. - Double Attack Formations:
- Double Three (3-3): A single stone creates two Open Threes simultaneously. The opponent can only block one side, handing you guaranteed victory.
- Four-Three (4-3): The premier universal winning move: forces a block on the Four, followed by an unstoppable Open Four on the Three!
- VCF (Victory by Continuous Fours): An advanced tactical sequence where a player executes consecutive Rush Fours, leaving the opponent with zero counter-attacking opportunities until resignation.
Real-Time 1v1 PvP Multiplayer Battle Arena
Challenge friends or duel global strategists in live, synchronous PvP showdowns:
- Turn Timers & Move History: Live millisecond move synchronization with active turn countdowns for high-tension competitive pacing.
- Winning Line Glow: The instant Five in a Row is completed, a glowing golden aura pierces through the winning stones to celebrate the finish.
- Multi-Round Series: Supports Best-of-N formats with alternating first-move privileges to test true enduring mastery.
Frequently Asked Questions (FAQ)
How can White overcome Black's first-move advantage?
In freestyle Gomoku, Black possesses an initial tempo advantage by claiming the central Tengen point. White's winning formula relies on tight proximity defense combined with counter-threats. Never let Black build loose, wide nets; stay glued to Black's active stones and construct simultaneous defensive-offensive Rush Fours.
What engine powers the AI Hint system?
The system utilizes a Minimax search engine with Alpha-Beta pruning, evaluating board states across thousands of candidate lines. It actively hunts for VCF checkmates and fork opportunities.