Skip to content

Instantly share code, notes, and snippets.

View junaidehsan12's full-sized avatar
🎯
Focusing

Junaid Ehsan junaidehsan12

🎯
Focusing
View GitHub Profile
@junaidehsan12
junaidehsan12 / stockfish.rb
Created November 24, 2015 21:26 — forked from linrock/stockfish.rb
A simple ruby client for the Stockfish chess engine.
require 'open3'
module Stockfish
class InvalidCommand < StandardError; end
class InvalidOption < StandardError; end
class Engine
attr_reader :stdin, :stdout, :stderr, :wait_threads, :version, :pid