support multiple stages for each level, resetting the machine between

This commit is contained in:
Crispy 2024-12-18 21:31:05 +01:00
parent e6437ae9cf
commit 43130b665d
17 changed files with 220 additions and 126 deletions

View file

@ -3,7 +3,8 @@
"sort_order": 35,
"name": "Lowercase",
"description": "Convert text to lowercase",
"init_board": null,
"inputs": "I CraVeD tHE strEnGTH AND CerTAinTy oF STeeL",
"outputs": "i craved the strength and certainty of steel"
"stages": [{
"input": "I CraVeD tHE strEnGTH AND CerTAinTy oF STeeL",
"output": "i craved the strength and certainty of steel"
}]
}

View file

@ -3,7 +3,8 @@
"sort_order": 31,
"name": "Numbers",
"description": "Convert input numbers to text, separated by spaces (32)\n'0' = 48, '1' = 49, '2' = 50, and so on",
"init_board": null,
"inputs": [85, 114, 32, 103, 97, 121, 58, 51],
"outputs": "85 114 32 103 97 121 58 51"
"stages": [{
"input": [85, 114, 32, 103, 97, 121, 58, 51],
"output": "85 114 32 103 97 121 58 51"
}]
}

View file

@ -3,7 +3,8 @@
"sort_order": 33,
"name": "Numbers 2",
"description": "Convert input numbers from text, separated by spaces (32)\n'0' = 48, '1' = 49, '2' = 50, and so on",
"init_board": null,
"inputs": "85 114 32 103 97 121 58 51",
"outputs": [85, 114, 32, 103, 97, 121, 58, 51]
"stages": [{
"input": "85 114 32 103 97 121 58 51",
"output": [85, 114, 32, 103, 97, 121, 58, 51]
}]
}