add more levels and organise them into sections
This commit is contained in:
parent
172cfc9409
commit
67557832fa
12 changed files with 96 additions and 28 deletions
9
levels/02_lists/count_fives.json
Normal file
9
levels/02_lists/count_fives.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"id": "count_fives",
|
||||
"sort_order": 22,
|
||||
"name": "Fives",
|
||||
"description": "count how many fives are in the input",
|
||||
"init_board": null,
|
||||
"inputs": [182, 236, 71, 5, 5, 242, 29, 99, 19, 230, 217, 5, 67, 5, 223, 224, 70, 243, 3, 74, 242, 5, 171, 31, 96, 5, 169, 70, 5, 163, 72, 5, 172, 148, 5, 208, 28, 220, 17, 184, 172, 238, 5, 105, 119, 5, 106, 100, 73, 53, 42, 221, 155, 5, 74, 100, 161, 36, 16, 239, 193, 164, 64, 162, 222, 155, 107, 14, 45, 52, 159, 31, 199, 124, 129, 0],
|
||||
"outputs": [12]
|
||||
}
|
9
levels/02_lists/list_length.json
Normal file
9
levels/02_lists/list_length.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"id": "list_length",
|
||||
"sort_order": 21,
|
||||
"name": "Length",
|
||||
"description": "count how many numbers are in the input, until the first zero",
|
||||
"init_board": null,
|
||||
"inputs": [182, 236, 71, 5, 5, 242, 29, 99, 19, 230, 217, 5, 67, 5, 223, 224, 70, 243, 3, 74, 242, 5, 171, 31, 96, 5, 169, 70, 5, 163, 72, 5, 172, 148, 5, 208, 28, 220, 17, 184, 172, 238, 5, 105, 119, 5, 106, 100, 73, 53, 42, 221, 155, 5, 74, 100, 161, 36, 16, 239, 193, 164, 64, 162, 222, 155, 107, 14, 45, 52, 159, 31, 199, 124, 129, 0],
|
||||
"outputs": [75]
|
||||
}
|
11
levels/02_lists/null_separation.json
Normal file
11
levels/02_lists/null_separation.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"id": "null_separation",
|
||||
"sort_order": 23,
|
||||
"name": "Null Separation",
|
||||
"description": "output everything after the first zero in the input data",
|
||||
"init_board": null,
|
||||
"inputs": [199, 34, 71, 209, 4, 0, 72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 103, 33, 0],
|
||||
"outputs": [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 103, 33],
|
||||
"input_is_text": true,
|
||||
"output_is_text": true
|
||||
}
|
11
levels/02_lists/reverse_input.json
Normal file
11
levels/02_lists/reverse_input.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"id": "reverse_input",
|
||||
"sort_order": 24,
|
||||
"name": "Reverse",
|
||||
"description": "read input until zero and output the same thing in reverse",
|
||||
"init_board": null,
|
||||
"inputs": [116, 110, 114, 111, 112, 109, 105, 32, 121, 114, 101, 118, 0],
|
||||
"outputs": [118, 101, 114, 121, 32, 105, 109, 112, 111, 114, 110, 116],
|
||||
"input_is_text": true,
|
||||
"output_is_text": true
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue