From c81deeee728808957d97bd48b577a2f569a10afd Mon Sep 17 00:00:00 2001 From: d_m Date: Sun, 14 Jul 2024 00:15:54 -0400 Subject: [PATCH] improve zero page docs, prepare for holding cards --- kodiak.tal | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/kodiak.tal b/kodiak.tal index 88e78ce..f0d8afd 100644 --- a/kodiak.tal +++ b/kodiak.tal @@ -23,18 +23,17 @@ ( - #6c queen of hearts, face down ) ( - #93 three of diamonds, held ) +( zero page - currently using 232 of 256 bytes ) |0000 - - @stock $34 ( draw pile - 52 bytes, 24 bytes at start ) - @waste $18 ( face up pile - 24 bytes ) - @foundation $4 ( one per suit - 4 bytes, 4x1 ) - @tableau $85 ( the main board - 133 bytes, 7x19 ) - - @prev-button $1 - @prev-mouse-state $1 - @prev-mouse-x $2 - @prev-mouse-y $2 - @card-is-held $1 + @stock $34 ( draw pile - 52 bytes, 24 bytes at start ) + @waste $18 ( face up pile - 24 bytes ) + @foundation $4 ( one per suit - 4 bytes, 4x1 ) + @tableau $85 ( the main board - 133 bytes, 7x19 ) + @held $0d ( stack of up to 13 held cards ) + @prev-button $1 ( previous button press ) + @prev-mouse-state $1 ( previous mouse state ) + @prev-mouse-x $2 ( previous x-coordinate ) + @prev-mouse-y $2 ( previous y-coordinate ) |0100 #2d8b .System/r DEO2