Fork me on GitHub

This repo contains working solutions, in hopes of exchanging ideas to collaboratively come up with the most/size.speed optimized solutions (or simply to help those out there who are stuck). Even though the programs are created through a drag-and-drop interface within the game, copy/paste from/to the clipboard works as assembly source code seen in this repo.

Head over to the repo to browse all solutions.

To import one of these solutions into the game:

  1. Open the file
  2. Select all
  3. Copy to clipboard
  4. Go to the game
  5. Paste from clipboard

Top Scores

Non input-specific

Level
Name Size/Par Speed/Par Smallest That Meets Speed Challenge Fastest That Meets Size Challenge
1 Mail Room 6/6 by @atesgoral 6/6 by @atesgoral 6/6 by @atesgoral (in 6/6) 6/6 by @atesgoral (in 6/6)
2 Busy Mail Room 3/3 by @atesgoral 20/25 by @mrflip 5/3 by @jdashton (in 25/25) 30/25 by @atesgoral (in 3/3)
3 Copy Floor 6/6 by @atesgoral 6/6 by @atesgoral 6/6 by @atesgoral (in 6/6) 6/6 by @atesgoral (in 6/6)
4 Scrambler Handler 7/7 by @atesgoral 18/21 by @mrflip 7/7 by @atesgoral (in 21/21) 21/21 by @atesgoral (in 7/7)
5 Coffee Time
6 Rainy Summer 6/6 by @atesgoral 20/24 by @mrflip 6/6 by @atesgoral (in 24/24) 24/24 by @atesgoral (in 6/6)
7 Zero Exterminator 4/4 by @atesgoral 23/23 by @atesgoral 4/4 by @atesgoral (in 23/23) 23/23 by @atesgoral (in 4/4)
8 Tripler Room 6/6 by @atesgoral 24/24 by @atesgoral 6/6 by @atesgoral (in 24/24) 24/24 by @atesgoral (in 6/6)
9 Zero Preservation Initiative 5/5 by @nanashi-juanto 25/25 by @nanashi-juanto 5/5 by @nanashi-juanto (in 25/25) 25/25 by @nanashi-juanto (in 5/5)
10 Octoplier Suite 9/9 by @atesgoral 36/36 by @atesgoral 9/9 by @atesgoral (in 36/36) 36/36 by @atesgoral (in 9/9)
11 Sub Hallway 10/10 by @atesgoral 40/40 by @atesgoral 10/10 by @atesgoral (in 40/40) 40/40 by @atesgoral (in 10/10)
12 Tetracontiplier 14/14 by @nanashi-juanto 56/56 by @nanashi-juanto 14/14 by @nanashi-juanto (in 56/56) 56/56 by @nanashi-juanto (in 14/14)
13 Equalization Room 9/9 by @unframework 27/27 by @unframework 9/9 by @unframework (in 27/27) 27/27 by @unframework (in 9/9)
14 Maximization Room 10/10 by @cowboy 31/34 by @cowboy 10/10 by @cowboy (in 31/34) 31/34 by @cowboy (in 10/10)
15 Employee Morale Insertion
16 Absolute Positivity 7/8 by @18111398 34/36 by @codejnki 8/8 by @codejnki (in 34/36) 34/36 by @codejnki (in 8/8)
17 Exclusive Lounge 11/12 by @Nelson 24/28 by @og01 11/12 by @Nelson (in 26/28) 26/28 by @Nelson (in 11/12)
18 Sabbatical Beach Paradise
19 Countdown 10/10 by @18111398 66/82 by @mrflip 11/10 by @AaronKnowles (in 80/82) 83/82 by @18111398 (in 10/10)
20 Multiplication Workshop 14/15 by @nhowell 66/109 by @mrflip 19/15 by @mrflip (in 108/109) 135/109 by @skwasjer (in 15/15)
21 Zero Terminated Sum 9/10 by @steambap 60/72 by @AaronKnowles 10/10 by @skwasjer (in 68/72) 68/72 by @skwasjer (in 10/10)
22 Fibonacci Visitor 15/19 by @sniperrifle2004 50/156 by @mrflip 15/19 by @sniperrifle2004 (in 126/156) 112/156 by @mrflip (in 18/19)
23 The Littlest Number 12/13 by @peterfreese 69/75 by @whathecode 12/13 by @peterfreese (in 71/75) 70/75 by @mrflip (in 13/13)
24 Mod Module 11/12 by @jwueller 47/57 by @mrflip 11/12 by @jwueller (in 50/57) 50/57 by @jwueller (in 11/12)
25 Cumulative Countdown 10/12 by @skwasjer 79/82 by @skwasjer 11/12 by @skwasjer (in 79/82) 79/82 by @skwasjer (in 11/12)
26 Small Divide 15/15 by @ekx 66/76 by @mrflip 15/15 by @ekx (in 71/76) 71/76 by @ekx (in 15/15)
27 Midnight Petroleum
28 Three Sort 28/34 by @eiTTio 72/78 by @popq 47/34 by @jdashton (in 75/78) 85/78 by @steambap (in 33/34)
29 Storage Floor 5/5 by @atesgoral 20/25 by @mrflip 5/5 by @atesgoral (in 25/25) 25/25 by @atesgoral (in 5/5)
30 String Storage Floor 7/7 by @atesgoral 159/203 by @mrflip 7/7 by @atesgoral (in 203/203) 203/203 by @atesgoral (in 7/7)
31 String Reverse 10/11 by @FireGoblin 109/122 by @gjareno 10/11 by @FireGoblin (in 121/122) 115/122 by @kyanet (in 11/11)
32 Inventory Report 16/16 by @cowboy 197/393 by @mrflip 16/16 by @cowboy (in 377/393) 377/393 by @cowboy (in 16/16)
33 Where's Carol?
34 Vowel Incinerator 13/13 by @viamodulo 104/323 by @viiri 13/13 by @viamodulo (in 313/323) 313/323 by @viamodulo (in 13/13)
35 Duplicate Removal 13/17 by @skwasjer 138/167 by @mrflip 16/17 by @fbastien (in 149/167) 149/167 by @fbastien (in 16/17)
36 Alphabetizer 26/39 by @Azijn 59/109 by @mrflip 26/39 by @Azijn (in 79/109) 59/109 by @mrflip (in 39/39)
37 Scavenger Chain 8/8 by @IAmWave 56/63 by @mrflip 8/8 by @IAmWave (in 63/63) 63/63 by @IAmWave (in 8/8)
38 Digit Exploder 20/30 by @837951602 100/165 by @viamodulo 43/30 by @landfillbaby (in 156/165) 199/165 by @eiTTio (in 27/30)
39 Re-Coordinator 14/14 by @FireGoblin 44/76 by @Otto42 14/14 by @FireGoblin (in 73/76) 73/76 by @FireGoblin (in 14/14)
40 Prime Factory 22/28 by @steambap 150/399 by @mathiaswk 28/28 by @jdashton (in 247/399) 247/399 by @jdashton (in 28/28)
41 Sorting Floor 20/34 by @mrflip 447/714 by @mrflip 20/34 by @mrflip (in 648/714) 537/714 by @mrflip (in 28/34)
42 End Program. Congratulations.

Fastest Programs, Input-specific Code Allowed

Level
Name Fastest (Input-specific allowed) Fastest (Input-specific allowed, all tests pass)
1 Mail Room 6/6 by @atesgoral (in 6/6, 100% pass) 6/6 by @atesgoral (in 6/6, not input-specific)
2 Busy Mail Room 20/25 by @peterfreese (in 24/3, 70% pass) 20/25 by @mrflip (in 25/3, not input-specific)
3 Copy Floor 6/6 by @atesgoral (in 6/6, 100% pass) 6/6 by @atesgoral (in 6/6, not input-specific)
4 Scrambler Handler 18/21 by @fd1e4020 (in 18/7) 18/21 by @fd1e4020 (in 18/7)
5 Coffee Time
6 Rainy Summer 20/24 by @landfillbaby (in 20/6, 60% pass) 20/24 by @mrflip (in 26/6, not input-specific)
7 Zero Exterminator 12/23 by @viamodulo (in 13/4, 10% pass) 23/23 by @atesgoral (in 4/4, not input-specific)
8 Tripler Room 17/24 by @meh2481 (in 17/6, 30% pass) 24/24 by @atesgoral (in 6/6, not input-specific)
9 Zero Preservation Initiative 14/25 by @caitsith2 (in 17/5, 10% pass) 25/25 by @nanashi-juanto (in 5/5, not input-specific)
10 Octoplier Suite 26/36 by @meh2481 (in 26/9, 30% pass) 36/36 by @atesgoral (in 9/9, not input-specific)
11 Sub Hallway 34/40 by @jdashton (in 34/10, 10% pass) 40/40 by @atesgoral (in 10/10, not input-specific)
12 Tetracontiplier 41/56 by @meh2481 (in 41/14, 30% pass) 56/56 by @nanashi-juanto (in 14/14, not input-specific)
13 Equalization Room 15/27 by @jdashton (in 23/9, 10% pass) 27/27 by @unframework (in 9/9, not input-specific)
14 Maximization Room 24/34 by @18111398 (in 45/10, 30% pass) 31/34 by @cowboy (in 10/10, not input-specific)
15 Employee Morale Insertion
16 Absolute Positivity 24/36 by @viamodulo (in 46/8, 10% pass) 34/36 by @codejnki (in 8/8, not input-specific)
17 Exclusive Lounge 23/28 by @Mygod (in 36/12, 100% pass) 23/28 by @Mygod (in 36/12)
18 Sabbatical Beach Paradise
19 Countdown 57/82 by @Eirik0 (in 116/10, 10% pass) 64/82 by @Mygod (in 90/10)
20 Multiplication Workshop 49/109 by @Eirik0 (in 185/15, 10% pass) 64/109 by @mschordan (in 92/15)
21 Zero Terminated Sum 36/72 by @viamodulo (in 36/10, 10% pass) 56/72 by @AaronKnowles (in 26/10)
22 Fibonacci Visitor 43/156 by @18111398 (in 75/19, 40% pass) 50/156 by @mrflip (in 103/19, not input-specific)
23 The Littlest Number 29/75 by @Eirik0 (in 58/13, 10% pass) 69/75 by @whathecode (in 19/13, not input-specific)
24 Mod Module 29/57 by @Mygod (in 35/12, 10% pass) 47/57 by @mrflip (in 18/12, not input-specific)
25 Cumulative Countdown 37/82 by @18111398 (in 125/12, 20% pass) 79/82 by @skwasjer (in 11/12, not input-specific)
26 Small Divide 33/76 by @18111398 (in 41/15, 10% pass) 66/76 by @mrflip (in 35/15, not input-specific)
27 Midnight Petroleum
28 Three Sort 52/78 by @Mygod (in 96/34) 52/78 by @Mygod (in 96/34)
29 Storage Floor 20/25 by @AlanDeSmet (in 20/5, 40% pass) 20/25 by @mrflip (in 21/5, not input-specific)
30 String Storage Floor 85/203 by @18111398 (in 97/7, 100% pass) 85/203 by @18111398 (in 97/7)
31 String Reverse 51/122 by @Eirik0 (in 65/11, 70% pass) 109/122 by @gjareno (in 13/11, not input-specific)
32 Inventory Report 23/393 by @Eirik0 (in 194/16, 100% pass) 23/393 by @Eirik0 (in 194/16)
33 Where's Carol?
34 Vowel Incinerator 95/323 by @Eirik0 (in 99/13, 100% pass) 95/323 by @Eirik0 (in 99/13)
35 Duplicate Removal 63/167 by @ocoss (in 42/17, 10% pass) 138/167 by @mrflip (in 31/17, not input-specific)
36 Alphabetizer 32/109 by @Mygod (in 112/39, 40% pass) 59/109 by @mrflip (in 39/39, not input-specific)
37 Scavenger Chain 20/63 by @WolfWings (in 32/8, 100% pass) 20/63 by @WolfWings (in 32/8)
38 Digit Exploder 100/165 by @viamodulo (in 178/30, 100% pass) 100/165 by @viamodulo (in 178/30, not input-specific)
39 Re-Coordinator 40/76 by @viamodulo (in 142/14, 100% pass) 40/76 by @viamodulo (in 142/14)
40 Prime Factory 51/399 by @18111398 (in 137/28, 40% pass) 150/399 by @mathiaswk (in 41/28, not input-specific)
41 Sorting Floor 263/714 by @Eirik0 (in 219/34) 263/714 by @Eirik0 (in 219/34)
42 End Program. Congratulations.

Wish List

The following levels do not have any submitted solution that meets both size and speed challenges:

Contributing

Please fork and issue a pull request.

Data API

You can fetch an index of all solutions from:

http://atesgoral.github.io/hrm-solutions/data/index.json

Or, if you want to fetch the index client-side, you can use JSONP with the callback function hard-coded as "callback":

http://atesgoral.github.io/hrm-solutions/data/index.js

This index only has metadata of solutions and not the actual sources. To fetch the metadata and source of a particular solution, use the level number and hash you obtain from the solution index. For example:

http://atesgoral.github.io/hrm-solutions/data/1/fc41e23f26bc4b2c9008818a2af1578a.json

Or similarly, for JSONP:

http://atesgoral.github.io/hrm-solutions/data/1/fc41e23f26bc4b2c9008818a2af1578a.js

Metadata Properties

The metadata for each solution has the following properties:

levelNumber

Number. The level number.

size

Number. Program size. This is the number of instructions (excluding comments and labels) the program has.

steps

Number. The average steps the program takes in a successful run (i.e. the outbox is correct). This is average of 100 runs for some inbox examples from the game along with randomly generated inboxes.

successRatio

Number. The ratio of successful runs. If this is 1, the program is a proper solution that can withstand any randomly generated inbox. If it's a fraction less than 1, it's a specific solution that exploits the fixed set of inputs offered by the game to beat a size/speed record. This ratio cannot be 0 because that essentially means that the solution is just broken and does not even make it into the solution index.

type

String. Optional. If this solution is tagged as a special type of solution, it might be accompanied by a type specifier. We're still in the process of standardizing these. Currently "specific", "exploit" and "obsolete" make appearances. Again, this is likely due to change.

author

String. Optional. If this solution is a contribution that is made by a known author, it's the author GitHub username.

source

String. Only appears in individual solution metadata. This is the source code of the program.

hash

String. The MD5 hash of the source code. While it can be used as a checksum for paranoid situations, it's mainly used as a unique ID for the purposes of providing this data API.

Maintainers

Contributors

@unframework (Nick Matantsev) @spenserhale (Spenser Hale) @grimer30 (Michael Stout)
@Ferwex @hermanprawiro (Herman Prawiro) @IAmWave
@valkum (Rudi Floren) @codejnki (Patrick Stockton) @Patrick-Jakubowski
@lzelus @CozyRocket @peterfreese (Peter Freese)
@polarathene (Brennan Kinney) @cowboy (Ben Alman) @ekx (Benjamin Dengler)
@pyaehtetaung (Sai Pyae Htet Aung) @Otto42 (Samuel Wood) @IllegallyBlind
@WolfWings @FireGoblin (Michael Overstreet) @AlanDeSmet (Alan De Smet)
@Gimlao @szubsteru @chris18191
@Multirez @albertferras @Halling69
@AaronKnowles @og01 @fd1e4020
@Resnox @AndrewBoudreau @mschordan
@tuxuin @skwasjer @jlmitch5
@ocoss @LRFLEW @johanatan (Jonathan Leonard)
@Mygod @meh2481 (Mark Hutcheson) @qefn
@psanetra @jwueller (Johannes Wüller) @viamodulo
@18111398 @hastebrot (Benjamin Gudehus) @lezardi
@henke37 @caitsith2 @viiri (x0r & jthermit)
@Eirik0 @esseger @michiexile (Mikael Vejdemo-Johansson)
@gillius (Jason Winnebeck) @nhowell (Nick Howell) @sniperrifle2004
@truhlikfredy (Anton Krug) @nelson-antunes (Nelson Antonio Antunes Junior) @fbastien (Florian Bastien)
@jdashton (Daniel Ashton) @steambap (Weilin Shi) @riophae (Fangzhou Li)
@eiTTio @tobeannouncd @kyanet
@837951602 @Azijn @mrflip (Philip Flip Kromer)
@mathiaswk (Mathias Weirsøe Klitgaard) @gjareno @popq (Pop Qvarnström)
@ironwallaby @ichbineinNerd @landfillbaby (Lucy Phipps)
@dubaaron (Aaron Wallentine) @Whathecode (Steven Jeuris)