Coding 2024-04-20

Tags:
By Max Woerner Chase

Okay, I have attempted some prototyping. I now have a slightly better idea of how I want to be using the CRDT library I'm using, Automerge. For the specific idea I have in mind here of "here are cards, and they can be moved around", I think I need to be focusing a lot on arenas. This is because I don't see a way to move an object around in Automerge, so I think whatever gets moved around has to be a scalar identifier.

I'm not totally certain about how I want to be representing the objects in these arenas. Like I probably want to be using the arena index as much as possible and only resolving it to an object id at the latest possible moment, but right now that's just a gut feeling, and I think to get any closer to understanding the situation, I need to take the pile of API methods I've noted that I'll need, and consider the signatures I want for them, which may be constrained in some manner by implementation details.

We'll see what I can manage tomorrow.

Good night.