Skip to content

Add a self-play demo GIF to the README - #12

Merged
cjunius merged 1 commit into
mainfrom
docs/readme-demo-gif
Aug 30, 2026
Merged

cjunius merged 1 commit into
mainfrom
docs/readme-demo-gif

Conversation

@cjunius

@cjunius cjunius commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Summary

Adds docs/self-play.gif and shows it in the README, directly under the
project description.

  • 235 KB, 62 frames, ~72 s loop
  • The engine playing itself at 5 s/move, one frame per move, ASCII board
    with rank/file labels and per-move search info (depth, cp score, nodes, time)
  • No opening book - every move is a real Lazy SMP search
  • .gitattributes: *.gif binary

The game shown: balanced middlegame, a tactical sequence around move 19-20
where White wins a rook, decisively winning by the 30-move cap.

The generator lives at scratchpad/selfplay_gif.py (needs pillow); happy to
commit it as scripts/ + a demo optional-dependency in a follow-up if useful.

Checklist

  • ruff / mypy / pytest - n/a, no code touched
  • CHANGELOG.md - n/a (docs only)
  • README.md updated

🤖 Generated with Claude Code

`docs/self-play.gif` (235 KB, 62 frames): the engine playing itself at
5s/move with an ASCII board, one frame per move. No opening book - every move
is a real Lazy SMP search. Shown right under the description in the README.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 30, 2026 14:18
@cjunius
cjunius enabled auto-merge (squash) August 30, 2026 14:18
@cjunius
cjunius merged commit 8d1ccab into main Aug 30, 2026
7 checks passed
@cjunius
cjunius deleted the docs/readme-demo-gif branch August 30, 2026 14:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

Documentation-only change with valid asset reference and appropriate Git attributes for binary handling.

Pull request overview

Adds a self-play demo GIF to the project’s top-level documentation so readers immediately see the engine running under real search conditions.

Changes:

  • Embed docs/self-play.gif in README.md directly under the project description with a brief caption.
  • Mark *.gif as binary in .gitattributes to prevent text filters/line-ending normalization from corrupting GIF files.
File summaries
File Description
README.md Adds an embedded self-play demo GIF and caption near the top of the README.
.gitattributes Treats .gif files as binary to ensure correct handling in Git.
Review details
  • Files reviewed: 2/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants