SHENZHEN I/O

SHENZHEN I/O

Not enough ratings
LOAD BALANCING ROBOT
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
3.013 KB
30 Nov, 2016 @ 4:10pm
1 Change Note ( view )

Subscribe to download
LOAD BALANCING ROBOT

Description
The boxes keep coming! You have to distribute them evenly over the 3 platforms using a motorized robot hand.
Hold up... There is only one input and one output?!
----------------------------------------------------------------------------------------------------
  • The robot hand starts at x=0. It moves left when motor=0 and right when motor=100. It should return to this resting position and set motor=50 if there is nothing to do.
  • A platform is on the left (x=–1). It can hold a stack of boxes and tell their total weight. Boxes are occasionally put on top of it (unless the robot arm is there).
  • There are 3 platforms on the right (x=1, x=2, x=3). Putting a box on one of them adds to that platform's load (total weight).
  • When there is something on the left platform, the hand should move there, automatically grab the topmost box, move to a platform on the right with the lowest load (closest one in case of a tie), automatically drop a box there, and return.
----------------------------------------------------------------------------------------------------
Author's score: ¥18 / 456 / 37

Check out my other puzzles!
2 Comments
pv2b 2 Dec, 2016 @ 3:28pm 
Turns out I overthought this one to death. I had a working solution that was 19/807/41 with the board practically jammed full. By simply removing an unneccessary feature I was able to reduce it to 12/443/26.
pv2b 1 Dec, 2016 @ 4:16pm 
Nice and tricky, I bashed my head against this for a couple of hours without much success. I'll have to sleep on it. The animation is a really nice touch, shame it's not possible to expose that in-game.