-
Notifications
You must be signed in to change notification settings - Fork 0
Redis Object Structure
klmcwhirter edited this page May 16, 2021
·
13 revisions
- Puzzle
Key: puzzle:name
Value:
{
"name": "string",
"description": "string",
"words": [ "string" ]
}
- PuzzleBoard
List Key: puzzleboard: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"
]
}
},
...
]