A function can be defined with the function keyword. Once you define a certain function, you can call it to perform its instructions.

function name() {
  instructions
}

Call the mineAndMove function one more time, then detonate the mines.

transmission
3
โ€‹x