This is a solver for a really hard solitaire game from the Zachtronics Solitaire Collection, a really fun game.
This repo is in two parts:
- solsolver, written in Rust, solves game positions
- zacdetect, written in Python, uses computer vision to read the game state from the screen, and uses pyautogui to simulate mouse inputs to play the game
Needs fixing:
- Some positions we still can't solve. See HAX section in
solsolver/src/main.rs
for notes on the customer Cap-limited allocator. Example of unsolvable position atsolsolver/TODO_unsolvable_input
.