-
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: puzzle-name
Value:
{
"name": "name",
"description": "description",
"words": [ "string" ]
}
- PuzzleBoards
Key: puzzleboards-puzzle_name
Value:
{
"height": "(number)",
"width": "(number)",
"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": "name",
"description": "description",
"words": [ "string" ]
}
}