Add Serialization V3: Include the name of the algorithm.
This commit is contained in:
parent
cdfa1f4476
commit
9579066cb5
13 changed files with 523 additions and 139 deletions
|
|
@ -6,6 +6,7 @@
|
|||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"algorithm",
|
||||
"width",
|
||||
"height",
|
||||
"start",
|
||||
|
|
@ -17,6 +18,10 @@
|
|||
"type": "string",
|
||||
"description": "64 bit precision signed integer value. Transmitted as string, because ECMAScript (browsers) don't normally handle 64 bit integers well, as the ECMAScript 'number' type is a 64 bit signed double value, leaving only 53 bits for the integer part, thus losing precision."
|
||||
},
|
||||
"algorithm": {
|
||||
"type": "string",
|
||||
"description": "The name of the algorithm used to generate the maze."
|
||||
},
|
||||
"width": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue