In the same way that there is a “drop a stone” (Drop), there is a “grab a stone” (Grab), which removes exactly one stone of the given color.
For example, the following program grabs two stones of the initial position.
program {
Grab(Red)
Grab(Red)
}
Knowing this, write a program which removes only the small red ball of this board. Watch out! Pay attention to the position of the head. : wink:
Maybe you need to move the head before trying to grab the stone.
You must sign in before submitting your solutions