Each board's title carries its number, so 3b4 reads as the air, file b, rank 4
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CCLa2PaEeCj8njQZSWGqHx
This commit is contained in:
1 parent
04831ed2aa
commit
808c27e5d3
2 files changed
+3
-2
No files matched your search
@@ -53,7 +53,8 @@
|
||||
const width = $derived(PAD_L + BOARD_W + PAD_R);
|
||||
const boardHeight = $derived(PAD_T + BOARD_H + PAD_B);
|
||||
const height = $derived(levels.length * boardHeight + (levels.length - 1) * GAP);
|
||||
const WORLD: Record<number, string> = { 3: 'The air', 2: 'The land', 1: 'The underworld' };
|
||||
/** Each board's title carries its number, the first character of every square name: 3b4 is the air, file b, rank 4. */
|
||||
const WORLD: Record<number, string> = { 3: 'The air \u00b7 board 3', 2: 'The land \u00b7 board 2', 1: 'The underworld \u00b7 board 1' };
|
||||
|
||||
/** Where a cell sits on the drawing: its board's slot, then file and rank from the viewer's side. */
|
||||
function place(i: number): { x: number; y: number } | null {
|
||||
|
||||
Reference in new issue
Block a user