Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 18:12
1637948
Poker-table UI: click cards instead of typing them (#1)

* Pick cards by clicking instead of typing them

Replace the hole-card and board text fields with seven card slots and a
clickable 52-card deck. Cards fill the highlighted slot in dealing order,
used cards dim in the deck, and clicking a slot or a used card takes it
back. Opponents and outs become spinners, with presets for common draws.
Results now update as inputs change, so there's no Calculate button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G8c75GESMPy3nggMcAu3d6

* Restyle the window as a poker table

Replace the stock ttk widgets with plain Tk widgets in our own colours, so
the app looks the same on Windows and Mac. The cards are drawn on canvases,
and a CALL/FOLD banner has a bar comparing your equity with the equity you
need. Opponents and outs use − / + steppers.

Canvas clicks are matched by position rather than bound to items, because
every redraw replaces the items and a click on a replaced item was lost.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G8c75GESMPy3nggMcAu3d6

---------

Co-authored-by: Claude <noreply@anthropic.com>