Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 891 Bytes

test.md

File metadata and controls

30 lines (26 loc) · 891 Bytes

@flyoutOnly true

@hideIteration true

@explicitHints true

TEST 9/25/2025 @ 2:26PM

Step 1

Oh no! The Smart Lawnmower isn't too smart! It's running over sprinkler heads breaking them! Read through the code and update it so the lawnmower will first check for sprinkler heads before continuing.

    hoc2023.scene2_GrassCut()
    hoc2023.scene2_CheckSprinklerGrassCut()
    hoc2023.scene2_LawnmowerNextRow()
    hoc2023.scene2_LawnmowerMoveForward()
    for (let i = 0; i < 4; i++ ) {
        hoc2023.scene2_LawnmowerMoveForward()
        hoc2023.scene2_GrassCut()
        hoc2023.scene2_LawnmowerMoveForward()
        hoc2023.scene2_GrassCut()
        hoc2023.scene2_LawnmowerMoveForward()
        hoc2023.scene2_GrassCut()    
        hoc2023.scene2_LawnmowerNextRow()    
    }  
artemis-ts=github:ReWrite-Media/hoc2023-ts#v0.0.2