Sha256: 6f3d460f879bae0af7a2c8de3d22e813e3b1f4ad2521f6c1a809b171d750d8b0
Contents?: true
Size: 293 Bytes
Versions: 2
Compression:
Stored size: 293 Bytes
Contents
require "stockfish/engine" require "stockfish/analysis_parser" module Stockfish def self.analyze(fen, options = {}) multipv = options.delete(:multipv) engine = Engine.new engine.multipv(multipv) if multipv AnalysisParser.new(engine.analyze(fen, options)).parse end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stockfish-0.3.1 | lib/stockfish.rb |
stockfish-0.3.0 | lib/stockfish.rb |