From b5b77b89f9b8e21ae33afe170610cf1fc033fe29 Mon Sep 17 00:00:00 2001 From: CrispyPin Date: Thu, 10 Oct 2024 21:28:55 +0200 Subject: [PATCH] reorder list levels because list length is more complex than i thought --- README.md | 6 ++++-- levels/02_lists/count_fives.json | 2 +- levels/02_lists/list_length.json | 6 +++--- levels/02_lists/null_separation.json | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 4dd547a..aed599b 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ story/lore timestamps in solutions and blueprints multiple input/output sets undo/redo +make math tiles read digits +fix bag tiles only counting power in one direction at once tooltips lock tile types for early levels to make it less overwhelming make a gui alternative to pressing R to rotate between tile variants @@ -84,11 +86,11 @@ blueprint rotation? - output multiple numbers in sequence (digits) - output zeroes forever (looping, trigger, bag output) - copy the input (input) -- copy only odd input numbers (comparator, flipper) +- copy only odd input numbers (comparator, math, flipper) ### 0-terminated list processing +- copy the second list - calculate list length (math, bag input) - count instances of 5 in a list -- copy the second list - reverse a list (bouncing) ### user-friendly numbers - convert a number to decimal ascii diff --git a/levels/02_lists/count_fives.json b/levels/02_lists/count_fives.json index 088445a..965a0ca 100644 --- a/levels/02_lists/count_fives.json +++ b/levels/02_lists/count_fives.json @@ -1,6 +1,6 @@ { "id": "count_fives", - "sort_order": 22, + "sort_order": 23, "name": "Fives", "description": "count how many fives are in the input", "init_board": null, diff --git a/levels/02_lists/list_length.json b/levels/02_lists/list_length.json index 3ea9674..3acd749 100644 --- a/levels/02_lists/list_length.json +++ b/levels/02_lists/list_length.json @@ -1,9 +1,9 @@ { "id": "list_length", - "sort_order": 21, + "sort_order": 22, "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] + "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, 0], + "outputs": [41] } \ No newline at end of file diff --git a/levels/02_lists/null_separation.json b/levels/02_lists/null_separation.json index 5f2c52f..143c0d4 100644 --- a/levels/02_lists/null_separation.json +++ b/levels/02_lists/null_separation.json @@ -1,6 +1,6 @@ { "id": "null_separation", - "sort_order": 23, + "sort_order": 21, "name": "Null Separation", "description": "output everything after the first zero in the input data", "init_board": null,