Skip to content

chatgame

Game puzzle screenshot solver — take a screenshot, get the solution instantly.

Currently supports: Cow Puzzle (color-region constraint · unique row/col · no adjacency — same family as LinkedIn Queens)


Quickstart

# Install
pip install chatgame

# Solve a screenshot (print answer)
chatgame solve level24.png

# Save annotated image
chatgame solve level24.png -o solved.png

Features

Feature Command
Show the real command tree with signatures chatgame --tree
Show the brief command tree without signatures chatgame --tree-brief
Solve screenshot, print click order chatgame solve <image>
Save annotated image (numbers on grid) chatgame solve <image> -o <output>
List supported games chatgame games
Check Web runtime chatgame web setup
Launch Web UI chatgame web serve

Local docs preview

pip install -e ".[docs]"
mkdocs serve

CLI tree: CLI Tree.

Chinese version: index.md