Skip to content
Automate EXAPUNKS ПАСЬЯНС (Solitaire)
Ruby
Branch: master
Clone or download
Latest commit 0a22f06 May 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
Gemfile
Gemfile.lock initial commit May 10, 2019
README.md initial commit May 10, 2019
capture.rb initial commit May 10, 2019
card_mover.rb initial commit May 10, 2019
data.txt initial commit May 10, 2019
run.rb initial commit May 10, 2019
solver.rb

README.md

Automate EXAPUNKS Solitaire

Solve EXAPUNKS's solitaire minigame "ПАСЬЯНС" automatically by screencapture and cliclick.

YouTube

Setup

brew install cliclick opencv@2
gem install bundler
bundle config build.ruby-opencv --with-opencv-dir=/usr/local/opt/opencv
bundle install --path vendor/bundle

Launch ПАСЬЯНС and place the window at left most corner of the screen.

NOTE: Only works with windowed 1920x1080 resolution mode + Mac Retina display mode. Calibration may be required in other circumstance.

Run

bundle exec ./run.rb
You can’t perform that action at this time.