Are you already asleep?
Let's move on to something more difficult. We will give you a 2x2 board (that is to say, with 4 cells), where very cell has a red stone. Your task is to write a program which replaces all red stones by green stones.
| Inicial | Final | |
|---|---|---|
|
|
|
The idea of replacing one stone by another one, is something that us, human beings, can understand.
On the other hand, Gobstones only understands Drop and Grab. Think how you can combine those operations in order to reach the desired effect.
You must sign in before submitting your solutions