Automachef - Burger Frenzy (100% Efficiency)
One of the AC-16 Computers is connected to four raw patty dispensers. The other computer is connected to four burger bun dispensers. Each computer used the following code - essentially, each pair of dispensers release ingredients to make the first 48 burgers, then each side creates one more burger:
mov 49 V3
add I0 I1 V0
add V0 I2 V0
add V0 I3 V0
cmp V0 V3
jgt shutdown
cmp V0 46
jgt twomore
out O0 1
out O1 1
out O2 1
out O3 1
ret
twomore:
out O0 0
out O1 1
out O2 0
out O3 1
ret
shutdown:
out O0 0
out O1 0
out O2 0
out O3 0
My solution was inspired by https://www.youtube.com/watch?v=DjL2MPygJU4&t=38s.
Other Videos By Matt Smith
Other Statistics
Automachef Statistics For Matt Smith
At this time, Matt Smith has 74 views for Automachef spread across 1 video. His channel published less than an hour of Automachef content, roughly 10.00% of the content that Matt Smith has uploaded to YouTube.