support multiple stages for each level, resetting the machine between
This commit is contained in:
parent
e6437ae9cf
commit
43130b665d
17 changed files with 220 additions and 126 deletions
|
@ -4,6 +4,12 @@
|
|||
"name": "Zero",
|
||||
"description": "learn how to output data",
|
||||
"init_board": "\n o \n\n I\n\n",
|
||||
"inputs": [],
|
||||
"outputs": [0]
|
||||
"stages": [
|
||||
{
|
||||
"input": [],
|
||||
"output": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -3,7 +3,8 @@
|
|||
"sort_order": 12,
|
||||
"name": "Digits",
|
||||
"description": "place digits and use number keys to assign them values",
|
||||
"init_board": null,
|
||||
"inputs": [],
|
||||
"outputs": [4, 8, 16]
|
||||
"stages": [{
|
||||
"input": [],
|
||||
"output": [4, 8, 16]
|
||||
}]
|
||||
}
|
|
@ -4,6 +4,8 @@
|
|||
"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]
|
||||
"stages": [{
|
||||
"input": [],
|
||||
"output": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
||||
}]
|
||||
}
|
|
@ -3,7 +3,8 @@
|
|||
"sort_order": 14,
|
||||
"name": "Copy Cat",
|
||||
"description": "read input and output the same thing",
|
||||
"init_board": null,
|
||||
"inputs": "Hello, world!",
|
||||
"outputs": "Hello, world!"
|
||||
"stages": [{
|
||||
"input": "Hello, world!",
|
||||
"output": "Hello, world!"
|
||||
}]
|
||||
}
|
|
@ -3,7 +3,8 @@
|
|||
"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]
|
||||
"stages": [{
|
||||
"input": [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],
|
||||
"output": [51, 79, 59, 195, 137, 251, 105, 63, 211, 17, 17, 181, 43]
|
||||
}]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue