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/01_intro/01_output.json
Normal file
9
levels/01_intro/01_output.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"id": "output",
|
||||
"sort_order": 11,
|
||||
"name": "Zero",
|
||||
"description": "learn how to output data",
|
||||
"init_board": "\n o \n\n I\n\n",
|
||||
"inputs": [],
|
||||
"outputs": [0]
|
||||
}
|
9
levels/01_intro/02_digits.json
Normal file
9
levels/01_intro/02_digits.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"id": "digits",
|
||||
"sort_order": 12,
|
||||
"name": "Digits",
|
||||
"description": "place digits and use number keys to assign them values",
|
||||
"init_board": null,
|
||||
"inputs": [],
|
||||
"outputs": [4, 8, 16]
|
||||
}
|
9
levels/01_intro/03_loop.json
Normal file
9
levels/01_intro/03_loop.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"id": "loop",
|
||||
"sort_order": 13,
|
||||
"name": "Loop",
|
||||
"description": "repeated output",
|
||||
"init_board": "\n \n o\n\n\n\n ^ \n\n",
|
||||
"inputs": [],
|
||||
"outputs": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
}
|
11
levels/01_intro/04_copy_input.json
Normal file
11
levels/01_intro/04_copy_input.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"id": "copy_input",
|
||||
"sort_order": 14,
|
||||
"name": "Copy Cat",
|
||||
"description": "read input and output the same thing",
|
||||
"init_board": null,
|
||||
"inputs": [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 103, 33],
|
||||
"outputs": [72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 103, 33],
|
||||
"input_is_text": true,
|
||||
"output_is_text": true
|
||||
}
|
9
levels/01_intro/05_copy_odd.json
Normal file
9
levels/01_intro/05_copy_odd.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"id": "copy_odd",
|
||||
"sort_order": 15,
|
||||
"name": "Odd Cat",
|
||||
"description": "copy only the odd numbers from the input",
|
||||
"init_board": null,
|
||||
"inputs": [112, 92, 51, 79, 112, 96, 84, 59, 195, 208, 137, 196, 68, 204, 82, 148, 251, 56, 105, 38, 63, 204, 240, 220, 180, 54, 211, 17, 82, 17, 181, 43],
|
||||
"outputs": [51, 79, 59, 195, 137, 251, 105, 63, 211, 17, 17, 181, 43]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue