Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor 16-tec-redshift-development-kit #2

Merged
merged 3 commits into from
Aug 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 2 additions & 5 deletions solutions/16-tec-redshift-development-kit/XA.exa
Original file line number Diff line number Diff line change
@@ -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
14 changes: 8 additions & 6 deletions solutions/16-tec-redshift-development-kit/XB.exa
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
LINK 800

MARK LOOP
COPY M X
REPL TRY
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
LINK -1