support using strings directly as level input and output data
This commit is contained in:
parent
ef01de9dae
commit
36b1b8672b
9 changed files with 35 additions and 38 deletions
|
@ -4,8 +4,6 @@
|
|||
"name": "Lowercase",
|
||||
"description": "Convert text to lowercase",
|
||||
"init_board": null,
|
||||
"inputs": [73, 32, 67, 114, 97, 86, 101, 68, 32, 116, 72, 69, 32, 115, 116, 114, 69, 110, 71, 84, 72, 32, 65, 78, 68, 32, 67, 101, 114, 84, 65, 105, 110, 84, 121, 32, 111, 70, 32, 83, 84, 101, 101, 76],
|
||||
"outputs": [105, 32, 99, 114, 97, 118, 101, 100, 32, 116, 104, 101, 32, 115, 116, 114, 101, 110, 103, 116, 104, 32, 97, 110, 100, 32, 99, 101, 114, 116, 97, 105, 110, 116, 121, 32, 111, 102, 32, 115, 116, 101, 101, 108],
|
||||
"input_is_text": true,
|
||||
"output_is_text": true
|
||||
"inputs": "I CraVeD tHE strEnGTH AND CerTAinTy oF STeeL",
|
||||
"outputs": "i craved the strength and certainty of steel"
|
||||
}
|
|
@ -5,7 +5,5 @@
|
|||
"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": [56, 53, 32, 49, 49, 52, 32, 51, 50, 32, 49, 48, 51, 32, 57, 55, 32, 49, 50, 49, 32, 53, 56, 32, 53, 49],
|
||||
"input_is_text": false,
|
||||
"output_is_text": true
|
||||
"outputs": "85 114 32 103 97 121 58 51"
|
||||
}
|
|
@ -4,8 +4,6 @@
|
|||
"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": [56, 53, 32, 49, 49, 52, 32, 51, 50, 32, 49, 48, 51, 32, 57, 55, 32, 49, 50, 49, 32, 51, 50, 32, 53, 56, 32, 53, 49],
|
||||
"outputs": [85, 114, 32, 103, 97, 121, 58, 51],
|
||||
"input_is_text": true,
|
||||
"output_is_text": false
|
||||
"inputs": "85 114 32 103 97 121 58 51",
|
||||
"outputs": [85, 114, 32, 103, 97, 121, 58, 51]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue