This is what it looks like currently, to give some context.
The size and date start out based on some defaults, and have independent remember/mutableStateOf blocks. The board state is in a third block and has remember-keys based on the first two.
Note that the third line of text includes the size and date.
When the user clicks one of the new-game buttons, all three of the state objects are set to new values. (The date should stay consistent throughout a game, but should be re-computed when a new game is started.)
s
stvn
04/15/2023, 6:35 AM
Link doesnt work 🤔
t
Tim McCormack
04/15/2023, 1:33 PM
Oops! Fixed it.
I'm thinking that the remember block for the game board doesn't actually need keys specified, since it's not recomputed automatically.