Open chmac opened 1 year ago
Thanks! Yeah the stringify issue makes sense. And I'm trying to replicate the functionality of https://kurson.uber.space/ without having to run a server; i.e .people should be able to start a crossword and then solve it with friends by sharing a link. There's no need to keep track of performance.
@shuesken When you say "solve it with friends", can you elaborate on what that means? How do different users share their solutions? What does the flow look like?
https://github.com/shuesken/nostr-crossword/blob/ab6128622e9cb3097ae7c684a0735e46c93e296b/spec.md?plain=1#L13
A user can only replace their own events, so I guess you can't use a "state" here...I read later in the spec that each player only sets their own state.
https://github.com/shuesken/nostr-crossword/blob/ab6128622e9cb3097ae7c684a0735e46c93e296b/spec.md?plain=1#L19-L28
Quick reminder, the content must be a
string
, so you'd need toJSON.stringify()
the contents here. It might be clearer to show thecontent
as a separate object rather than it appearing to be embedded in an event.Kinds
What kinds do these events have?
Questions
Personally, I don't know enough about crossword puzzles or your intention here to really understand the spec. Are these multiplayer crosswords? Single player? Is the goal to use nostr as a backing store for a crossword UI? Do I show off my crossword result to people?
Personally, knowing more about all of that would help me to better understand how this works.
For example, if it's a single player exercise, why do I need the intermediate game event? Why not just post my first move in response to a definition? Is one user ever going to do the same crossword multiple times?