Add Serialization V3: Include the name of the algorithm.

This commit is contained in:
Manuel Friedli 2024-12-18 00:24:55 +01:00
parent cdfa1f4476
commit 9579066cb5
Signed by: manuel
GPG key ID: 41D08ABA75634DA1
13 changed files with 523 additions and 139 deletions

View file

@ -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