From 6a938b17f768cc57edaec033e189e856f668696e Mon Sep 17 00:00:00 2001 From: Adam Cook Date: Sun, 12 Aug 2018 18:01:04 +0100 Subject: [PATCH 1/3] Refactor XA - Remove JUMP & MARK --- solutions/16-tec-redshift-development-kit/XA.exa | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/solutions/16-tec-redshift-development-kit/XA.exa b/solutions/16-tec-redshift-development-kit/XA.exa index 71dd30e..061d08e 100644 --- a/solutions/16-tec-redshift-development-kit/XA.exa +++ b/solutions/16-tec-redshift-development-kit/XA.exa @@ -1,12 +1,9 @@ LINK 800 MARK BRUTE -SWIZ X 3 #PASS -SWIZ X 2 #PASS SWIZ X 1 #PASS -JUMP TEST - -MARK TEST +SWIZ X 2 #PASS +SWIZ X 3 #PASS COPY X M ADDI X 1 X JUMP BRUTE \ No newline at end of file From 6b1c470919e2048d7f78ac608c66b87636dbbcd9 Mon Sep 17 00:00:00 2001 From: Adam Cook Date: Sun, 12 Aug 2018 18:02:24 +0100 Subject: [PATCH 2/3] Fix Bugs - Test to see if we can access, if we can, go back and kill other EXAs - Switch SWIZ statements around (so we copy the right values, e.g. 473 instead of 374) --- solutions/16-tec-redshift-development-kit/XB.exa | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/solutions/16-tec-redshift-development-kit/XB.exa b/solutions/16-tec-redshift-development-kit/XB.exa index e91d1bf..097b53c 100644 --- a/solutions/16-tec-redshift-development-kit/XB.exa +++ b/solutions/16-tec-redshift-development-kit/XB.exa @@ -1,4 +1,5 @@ LINK 800 + MARK LOOP COPY M X REPL TRY @@ -6,16 +7,17 @@ JUMP LOOP MARK TRY LINK 800 +LINK -1 +KILL +KILL +LINK 800 GRAB 199 COPY F T DROP MAKE -SWIZ X 3 F -SWIZ X 2 F SWIZ X 1 F +SWIZ X 2 F +SWIZ X 3 F COPY T F LINK -1 -LINK -1 -DROP -LINK 800 -KILL \ No newline at end of file +LINK -1 \ No newline at end of file From 2c17a1ede1c40a71bcc089ee7d1f7cf75be84139 Mon Sep 17 00:00:00 2001 From: Adam Cook Date: Sun, 12 Aug 2018 18:06:00 +0100 Subject: [PATCH 3/3] Update README.md with new scores --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a3b4d86..386df6a 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ You can follow along and understand how I solved these puzzles by using the play | [Equity First Bank - San Fancisco](solutions/13-equity-first-bank-san-francisco) | 3009 | 36 | 10 | | [Mitsuzen HDI-10 - Heart](solutions/14-mitsuzen-hdi-10-heart) | 405 | 35 | 8 | | [Trash World News - Unknown Context](solutions/15-trash-world-news-unknown-context) | 1508 | 34 | 5 | -| [TEC Redshift - Development Kit](solutions/16-tec-redshift-development-kit) | 7952 | 30 | 12 | +| [TEC Redshift - Development Kit](solutions/16-tec-redshift-development-kit) | 6940 | 29 | 9 | ## Tools