-
Notifications
You must be signed in to change notification settings - Fork 0
Redis Object Structure
klmcwhirter edited this page Feb 23, 2021
·
13 revisions
- Puzzles
Key: urn:puzzle:name
Value:
{
"name": "string",
"description": "string",
"words": [ "string" ]
}
- PuzzleBoards
List Key: urn:puzzleboards:puzzle_name
Value:
{
"height": 15,
"width": 15,
"letters": [
[ "row of letters each there own string" ]
],
"solutions": [
{
"word": "string",
"placed": true,
"origin": { "x": 0, "y": 0 },
"direction": "string",
"points": [
{ "x": 0, "y": 0 },
{ "x": 0, "y": 0 }
]
}
],
"puzzle": {
"name": "string",
"description": "string",
"words": [ "string" ]
}
}