Skip to content

Ice Palace: dot cells, paint, and stashes for the new renderer - #498

Merged
Perlkonig merged 1 commit into
AbstractPlay:developfrom
samtcifihi:ice-palace-paint-stashes-notation-2026-10-05
Oct 5, 2026
Merged

Perlkonig merged 1 commit into
AbstractPlay:developfrom
samtcifihi:ice-palace-paint-stashes-notation-2026-10-05

Conversation

@samtcifihi

Copy link
Copy Markdown
Contributor

Notation

  • Cells are written x.y rather than x,y: the front end reads commas in a move as separating simultaneous moves, so a build of numplayers - 1 pyramids was split into one move per seat.

Rendering

  • Every legend glyph is coloured through paint, which the renderer now asks for in place of the deprecated colour. Translucency moves into the fill slot, so outlines stay solid as before.
  • The hand and Pool are laid out alike under either board, since both renderers now lay stashes out with the same step; the 3D-board-only layouts with placeholders and headroom go.
  • In 3D the Pool is shown as nests, each holding at most one pyramid of each size: the renderer rests a column's pyramids on one base line by size, so several of a size in one column were drawn as one, and a spacer among them was an error ("Could not resolve silhouette tier").
  • The 3D hand glyph puts the pyramid before its invisible click square, which the renderer reads for the pyramid's size, so hand pyramids rest on one base line.
  • Black and White pyramids paint their outline and size pips in whichever of black and white contrasts with the body, so a Black pyramid shows its pips. The sidebar sends each pyramid as its legend glyph so the border reaches it too.

Playground

  • Status glyphs are sized to the text; the renderer sizes an inline glyph's svg to 100%, which the wrapper's max-height did not constrain.

Notation
- Cells are written x.y rather than x,y: the front end reads commas in
  a move as separating simultaneous moves, so a build of numplayers - 1
  pyramids was split into one move per seat. Games saved with comma
  cells keep working: moves typed or replayed in the old notation are
  read in the new one, and stack entries are rewritten on load.

Rendering
- Every legend glyph is coloured through `paint`, which the renderer
  now asks for in place of the deprecated `colour`. Translucency moves
  into the fill slot, so outlines stay solid as before.
- The hand and Pool are laid out alike under either board, since both
  renderers now lay stashes out with the same step; the 3D-board-only
  layouts with placeholders and headroom go.
- In 3D the Pool is shown as nests, each holding at most one pyramid of
  each size: the renderer rests a column's pyramids on one base line by
  size, so several of a size in one column were drawn as one, and a
  spacer among them was an error ("Could not resolve silhouette tier").
- The 3D hand glyph puts the pyramid before its invisible click square,
  which the renderer reads for the pyramid's size, so hand pyramids rest
  on one base line.
- Black and White pyramids paint their outline and size pips in
  whichever of black and white contrasts with the body, so a Black
  pyramid shows its pips. The sidebar sends each pyramid as its legend
  glyph so the border reaches it too.

Playground
- Status glyphs are sized to the text; the renderer sizes an inline
  glyph's svg to 100%, which the wrapper's max-height did not constrain.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NSoBhzyAEBBaTsYtVpV8aT
@Perlkonig
Perlkonig merged commit 568a40a into AbstractPlay:develop Oct 5, 2026
1 check passed
@samtcifihi
samtcifihi deleted the ice-palace-paint-stashes-notation-2026-10-05 branch October 5, 2026 23:06
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.

3 participants