Skip to content

Instantly share code, notes, and snippets.

@llbit
Last active November 1, 2016 13:50
Show Gist options
  • Save llbit/b6092a00b5d1639c6eefaad6c3f2e7d5 to your computer and use it in GitHub Desktop.
Save llbit/b6092a00b5d1639c6eefaad6c3f2e7d5 to your computer and use it in GitHub Desktop.
Manufactoria Solutions

Solutions for the game Manufactoria by Pleasing Fungus

Toast is obvious (3 parts) Coffee is obvious (3 parts)

Lamp

Robofish (accept if input contains no red symbol)

Robobugs (accept if the input has alternating red/blue)

Robocats (accept if the input ends with two blues)

RC Cars (output the input but with the first symbol at the end)

Robocars (replace blue with gree and red with yellow)

Robostilts (output the input, with a green at the beginning and a yellow at the end)

Robobears

Milidogs (accept odd binary strings; blue=1, red=0)

Androids (accept input with X blue then X red)

Roborockets (swap blue and red)

Roboplanes (remove red from input)

Robomecha (last symbol moved to front)

Soldiers (multiply binary input by 8)

Robotanks (accept binary input > 15)

Robo-children (accept X red and blue, any order)

Police (put a yellow in the middle of the even-length input)

Teachers (accept X blue, then X red, then X blue)

Rocket planes (output the input but with blues moved to the front)

Officers (add 1 to the binary input)

Robospies (accept natural powers of four binary input)

Judiciary (accept an even-length input that repeats once)

Politicians (accept if there are twice as many blue as red)

Academics (output the input reversed)

Generals (subtract 1 from the binary input, input >= 0)

Engineers (accept symmetrical input strings)

Seraphim (accept two identical strings separated by a green)

Ophanim (input = A:B, accept if A > B)

Metatron (input: A:B, output: A+B)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment