sketchub icon

Stockfish-18 (chess)

neplozin
0 Likes
5 Comments
11 Downloads

What's new

v2.0 — The Human Touch Update · 👻 Ghost-Touch Simulation · 🎮 Triple Skill System · 🧠 Smart Latency · 🔄 Draw Detection · 🛡️ Robust JSON Sanitization · 🔧 Engine Lifecycle Fix

⚠️Read Description

Screenshots

About

📋 Checklist and Updates

· Multi-PV (3-line) analysis · Weighted random move picker (75/20/5) · Gaussian bell-curve latency · Human-like ghost-touch with hover · ELO strength calibration (1600) · SharedPreferences persistence · 3x auto-retry on move failure · Last 50 moves history · AtomicBoolean polling guard · Null-safe pvMoves[] array · Draw by repetition detection · WebView focus management · Premature move guard (150ms) · Thread leak prevention · Triple skill personality system · Smart latency with complexity bonus · Robust JSON sanitization · Engine lifecycle management

📥 Setup

  1. Add stockfish binary in assets folder
  2. Build & run

🎮 Controls

UI Function Depth (1-30) Analysis depth introspection Auto-analyze toggle self-winding Auto-move toggle ▶ ANALYZE Manual analyze Long-press Cycle skill (🔥⚖️🛡️)


🎯 Skill Modes

Mode Best 2nd 3rd 🔥 Aggressive 80% 15% 5% ⚖️ Balanced 70% 20% 10% 🛡️ Safe 60% 25% 15%


⚙️ Tech Stack

· Engine: Stockfish 18 (UCI) · Bridge: Java ↔ JavaScript · Touch: PointerEvent API · Latency: nextGaussian() distribution


🔧 Customization

TARGET_ELO = 1600;          // Engine strength
DEFAULT_DEPTH = 17;         // Analysis depth
MAX_RETRIES = 3;            // Move retry count
LATENCY_BASE_MS = 1500;     // Think time base

⚠️ Disclaimer

Educational use only. May violate Chess.com TOS.


©2026 Sketchub | User Policy