Module: Stockshark

Defined in:
lib/stockshark.rb,
lib/stockshark/error.rb,
lib/stockshark/engine.rb,
lib/stockshark/process.rb,
lib/stockshark/version.rb,
lib/stockshark/uci_protocol.rb,
lib/stockshark/configuration.rb,
lib/stockshark/crashed_error.rb,
lib/stockshark/timeout_error.rb,
lib/stockshark/engine_not_found_error.rb

Overview

Stockshark::Engine talks to a UCI chess engine (Stockfish, or anything else that speaks the protocol) over stdin/stdout/stderr pipes. Plain Ruby, stdlib only (Open3) — no chess rules engine, no board representation, no opinions about evaluation perspective or move classification, so it stays usable by anything that just needs "FEN in, evaluation out" regardless of what it's built on top of. No autoloader here (unlike when this lived inside a Rails app under Zeitwerk), so every file is required explicitly above, in dependency order.

Defined Under Namespace

Modules: UciProtocol Classes: Configuration, CrashedError, Engine, EngineNotFoundError, Error, Process, TimeoutError

Constant Summary collapse

VERSION =
"0.1.1"