Exercise 3: Combining commands 2

Combining commands 2

Write a program which, starting from an empty board with the head in the origin, draws a line of four cells to the East.

Stones must be red and the program must drop one stone per cell.

In addition, the head must be in the end of the line, as the image shows:

GBB/1.0 size 4 2 cell 0 0 Rojo 1 cell 1 0 Rojo 1 cell 2 0 Rojo 1 cell 3 0 Rojo 1 head 3 0

You must sign in before submitting your solutions

Oops, your solution didn't work

  • Check that your program does not have recursion or an infinite loop
  • Check that you have an internet connection
  • Wait a while and try again

We are processing you solution

Please press F5 if results are not displayed after a few seconds