Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 889 Bytes

laserroom_laser2.md

File metadata and controls

31 lines (22 loc) · 889 Bytes

@flyoutOnly true

@hideIteration true

@explicitHints true

Laser Puzzle

Step 1

Solid blocks stop the lasers! Shift the green and yellow rows on the floor to make the laser pass through the Glass blocks and power on the light at the other side.

The included example code is broken, can you fix it? Debug the code by running it to see what it does and then edit it to the correct solution.

~ tutorialhint

Use the ||hoc22.shift|| blocks to select which row you want to move, and the direction it should move in. The block at the end of the row you are shifting will get bumped to the other side.

    hoc22.GreenLeftLaser(1)
    hoc22.GreenRightLaser(1)
    hoc22.YellowLeftLaser(1)
    hoc22.YellowRightLaser(1)
    hoc22.GreenLeftLaser(1)
    hoc22.YellowLeftLaser(1)
      
minecraft-hoc22=github:sae220/hoc22-ts